Search Engine: Elastic

Article ID: 131954, created on Dec 22, 2017, last review on Dec 22, 2017

  • Applies to:
  • Business Automation


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)


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


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,

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF