Symptoms

It is not possible to add Stripe credit card if the provider uses AUD currency, the window to insert card information is not shown. Exception is shown in the browser console:

Uncaught SyntaxError: Unexpected token ,
    at HTMLScriptElement.checkoutScript.onload (onlinePaymentMethodAdd.js?apsUIRuntimeVersion=2.4-321:108)
https://controlpanel.url/ccp/v/pa/ccp-billing/payment-methods:48

Cause

The issue is caused by the bug with id #PBA-83498 ("Stripe card cannot be added for customers of vendors with AUD").

Resolution

As a workaround do the following:

  1. Open /var/www/pa-payment-sdk/Stripe/Stripe.php on the BA node;
  2. Search the function Stripe_GetCurrencyPrecisions and add to list the following value:

    "AUD" => 100,

Internal content