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
Oct 15 16:07:43 2020-10-15 21:07:43,048 - fosspay.app - ERROR - Exception on /donate [POST]
Oct 15 16:07:43 Traceback (most recent call last):
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app
Oct 15 16:07:43 response = self.full_dispatch_request()
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request
Oct 15 16:07:43 rv = self.handle_user_exception(e)
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception
Oct 15 16:07:43 reraise(exc_type, exc_value, tb)
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
Oct 15 16:07:43 raise value
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request
Oct 15 16:07:43 rv = self.dispatch_request()
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request
Oct 15 16:07:43 return self.view_functions[rule.endpoint](**req.view_args)
Oct 15 16:07:43 File "/app/code/fosspay/fosspay/common.py", line 74, in wrapper
Oct 15 16:07:43 result = f(*args, **kwargs)
Oct 15 16:07:43 File "/app/code/fosspay/fosspay/blueprints/html.py", line 271, in donate
Oct 15 16:07:43 customer = stripe.Customer.retrieve(user.stripe_customer)
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/stripe/api_resources/abstract/api_resource.py", line 12, in retrieve
Oct 15 16:07:43 instance.refresh()
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/stripe/api_resources/abstract/api_resource.py", line 16, in refresh
Oct 15 16:07:43 self.refresh_from(self.request("get", self.instance_url()))
Oct 15 16:07:43 File "/usr/local/lib/python3.6/dist-packages/stripe/api_resources/abstract/api_resource.py", line 39, in instance_url
Oct 15 16:07:43 "id",
Oct 15 16:07:43 stripe.error.InvalidRequestError: Could not determine which URL to request: Customer instance has invalid ID: None, <class 'NoneType'>. ID should be of type `str` (or `unicode`)
The text was updated successfully, but these errors were encountered:
Getting this error running in production:
The text was updated successfully, but these errors were encountered: