Account upgrade page stripe checkout is not explicit enough about currency being charged

Xon

Well-known member
Affected version
2.3.7
When charging a user for an account upgrade, just the currency symbol is used. For $, this isn't actually accurate enough to determine which currency is being used.

For example; AUD, NZD, and USD all use $ which just shows up as pay $xx.yy via the stripe payment option.
 
In the payment_initiate_stripe template;

XML:
<xf:submitrow icon="payment" submit="{{ phrase('pay_x', {'cost': $purchase.cost|currency($purchase.currency)}) }}" />

Maybe the currency() method should append the 3-letter currency name?
 
Back
Top Bottom