-
-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Description
Hi,
Im receiving error when use TEST api key or LIVE api key.
I always get message:
Traceback (most recent call last):
File "/app/.local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/app/.local/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/app/.local/lib/python3.10/site-packages/django/contrib/auth/decorators.py", line 60, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/app/./apps/web/views/shop.py", line 66, in shop_buy_by_tag_view
form = payment.get_form(data=request.POST or None)
File "/app/.local/lib/python3.10/site-packages/payments/models.py", line 147, in get_form
return provider.get_form(self, data=data)
File "/app/.local/lib/python3.10/site-packages/payments/stripe/providers.py", line 103, in get_form
raise pe
File "/app/.local/lib/python3.10/site-packages/payments/stripe/providers.py", line 100, in get_form
session = self.create_session(payment)
File "/app/.local/lib/python3.10/site-packages/payments/stripe/providers.py", line 143, in create_session
raise PaymentError(e) from e
payments.PaymentError: Invalid API Key provided: "sk_test*************************************************************************************************u5m"
The key is exactly what is on Stripe, but never works.
What can be wrong?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels