UnknownCurrencyException error for Membership renewal payments
Hello,
A subset of our attempted Civi Membership Renewal payments are hitting an error thrown by the Stripe extension, before the card data is sent to Stripe for validation.
- CiviCRM 5.55.1
- Joomla 3.10.11
- Stripe Payment Processor 6.8-dev
Log indicates the error is from the API due to a null currency code being passed by the Stripe extension:
Dec 08 09:26:11 [debug] AJAX Error ({error_id}): failed with exception
Array
(
[error_id] => jp0P-krKS-bG4f
[exception] => Brick\Money\Exception\UnknownCurrencyException: "Unknown currency code: "
#0 /home/SITE/public_html/administrator/components/com_civicrm/civicrm/vendor/brick/money/src/ISOCurrencyProvider.php(120): Brick\Money\Exception\UnknownCurrencyException::unknownCurrency(NULL)
-
Full log attached: UnknownCurrencyException.txt
-
I am unable to reproduce the issue but have 6+ reports from users of the same error in the past week.
-
Issue is isolated to our Membership enrollment/renewal Contribution page. Other Contribution pages do not experience this error.
-
Payments for brand new Memberships from the same Contribution page succeed.
-
In the database and frontend config, all Contribution Pages are set to USD and every past Contribution record from our site is in USD.
-
All users report USD based banks/cards and all have US based billing addresses.
-
Issue is occurring across card types (Visa, MasterCard).
Has anyone else experienced this error? Any help would be appreciated. Thank you!