Error 500

There is a problem with the server, or with a request coming from you. Thank you for your understanding while we get things set up.


Traceback (most recent call last): File "/home/team/lotteh/payments/apis.py", line 9, in get_crypto_price return float(data['estimated_amount']) ~~~~^^^^^^^^^^^^^^^^^^^^KeyError: 'estimated_amount'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/team/lotteh/venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/home/team/lotteh/venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/team/lotteh/venv/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py", line 94, in sentry_wrapped_callback return callback(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/team/lotteh/payments/views.py", line 1390, in buy_photo_crypto fee = round(float(tip) / get_crypto_price(crypto), settings.BITCOIN_DECIMALS) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/team/lotteh/payments/apis.py", line 10, in get_crypto_price except: raise Exception('This currency is not supported at this time.') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Exception: This currency is not supported at this time.


© Lotte Harper, 2024

Accepting Visa and Mastercard

Terms of Service