KeyError: 'ars'
(6 additional frame(s) were not displayed)
...
File "django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "django/views/generic/edit.py", line 142, in post
return self.form_valid(form)
File "donate/payments/views.py", line 216, in form_valid
return self.process_single_transaction(form, send_data_to_basket=send_data_to_basket)
File "donate/payments/views.py", line 252, in process_single_transaction
'merchant_account_id': get_merchant_account_id_for_card(self.currency),
File "donate/payments/utils.py", line 94, in get_merchant_account_id_for_card
return settings.BRAINTREE_MERCHANT_ACCOUNTS[currency]
To reproduce, go to staging, select ARS and try to do a payment.
https://sentry.prod.mozaws.net/operations/donate-mozilla-org/issues/7232642/