-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Subscriptions: use stripe subscriptions to show details #9550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I think it's pretty close to get merged. Before merging, I think we need to solve the problems with
-
Organization
s without.stripe_id
nor.stripe_customer
hitting the subscription's detail page - date for period end on subscription's detail page for "unpaid" or "past_due" subscriptions
if not subscription: | ||
# This only happens during development. | ||
return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it makes sense to use the following?
if not subscription: | |
# This only happens during development. | |
return None | |
if settings.DEBUG and not subscription: | |
# This only happens during development. | |
return None |
Ref #9312
📚 Documentation previews 📚
docs
): https://docs--9550.org.readthedocs.build/en/9550/dev
): https://dev--9550.org.readthedocs.build/en/9550/