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
[20/Sep/2024 00:47:10] "POST /payments/process/stripe/ HTTP/1.1" 500 109937
[20/Sep/2024 00:48:54] "GET / HTTP/1.1" 200 3579
[20/Sep/2024 00:48:54] "GET /static/CACHE/js/output.c3aca029a680.js HTTP/1.1" 200 168231
[20/Sep/2024 00:48:54] "GET /static/CACHE/css/output.80b3f02238f7.css HTTP/1.1" 200 315578
[20/Sep/2024 00:48:54] "GET /static/CACHE/js/output.3bb50f9aa3d1.js HTTP/1.1" 200 28971
[20/Sep/2024 00:48:58] "GET /shop/buy/mensal HTTP/1.1" 302 0
Internal Server Error: /payments/process/stripe/
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 233, in get_token_from_request
return event["data"]["object"]["client_reference_id"]
KeyError: 'client_reference_id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 65, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/opt/homebrew/Cellar/[email protected]/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/opt/homebrew/lib/python3.10/site-packages/payments/urls.py", line 45, in static_callback
token = provider.get_token_from_request(request=request, payment=None)
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 235, in get_token_from_request
raise PaymentError(
payments.PaymentError: client_reference_id is not present, check Stripe Dashboard.
Internal Server Error: /payments/process/stripe/
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 233, in get_token_from_request
return event["data"]["object"]["client_reference_id"]
KeyError: 'client_reference_id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 65, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/opt/homebrew/Cellar/[email protected]/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/opt/homebrew/lib/python3.10/site-packages/payments/urls.py", line 45, in static_callback
token = provider.get_token_from_request(request=request, payment=None)
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 235, in get_token_from_request
raise PaymentError(
payments.PaymentError: client_reference_id is not present, check Stripe Dashboard.
[20/Sep/2024 00:49:18] "POST /payments/process/stripe/ HTTP/1.1" 500 106133
[20/Sep/2024 00:49:18] "POST /payments/process/stripe/ HTTP/1.1" 500 109857
Internal Server Error: /payments/process/stripe/
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 233, in get_token_from_request
return event["data"]["object"]["client_reference_id"]
KeyError: 'client_reference_id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 65, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/opt/homebrew/Cellar/[email protected]/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/opt/homebrew/lib/python3.10/site-packages/payments/urls.py", line 45, in static_callback
token = provider.get_token_from_request(request=request, payment=None)
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 235, in get_token_from_request
raise PaymentError(
payments.PaymentError: client_reference_id is not present, check Stripe Dashboard.
[20/Sep/2024 00:49:18] "POST /payments/process/stripe/ HTTP/1.1" 500 106013
Internal Server Error: /payments/process/stripe/
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 233, in get_token_from_request
return event["data"]["object"]["client_reference_id"]
KeyError: 'client_reference_id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/opt/homebrew/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 65, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/opt/homebrew/Cellar/[email protected]/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/opt/homebrew/lib/python3.10/site-packages/payments/urls.py", line 45, in static_callback
token = provider.get_token_from_request(request=request, payment=None)
File "/opt/homebrew/lib/python3.10/site-packages/payments/stripe/providers.py", line 235, in get_token_from_request
raise PaymentError(
payments.PaymentError: client_reference_id is not present, check Stripe Dashboard.
[20/Sep/2024 00:49:20] "POST /payments/process/stripe/ HTTP/1.1" 500 109857
[20/Sep/2024 00:49:24] "POST /payments/process/stripe/ HTTP/1.1" 200 16
What can be wrong?
The text was updated successfully, but these errors were encountered:
Hi,
Im trying test this library.
But when i listen locally with
stripe cli
and make a local payment it only give me error:Stripe CLI:
App:
What can be wrong?
The text was updated successfully, but these errors were encountered: