You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When subscriber payment details are updated, this suceeds (because payment details are not persisted by subscribie, they are persisted by the payment provider (e.g. stripe), however the webhook does not correctly return 200 causing that webhook type & mode (setup) combination to return a 500 response.
subscribie/blueprints/checkout/__init__.py", line 1059, in stripe_webhook
currency = session["currency"].upper()
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'
Describe the solution you'd like
Handle checkout.session.completed mode type setup events correctly with a 200 response.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When subscriber payment details are updated, this suceeds (because payment details are not persisted by subscribie, they are persisted by the payment provider (e.g. stripe), however the webhook does not correctly return 200 causing that webhook type & mode (
setup
) combination to return a500
response.Describe the solution you'd like
Handle
checkout.session.completed
mode typesetup
events correctly with a200
response.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: