You are here: / / Unable to purchase a subscription plan – Invalid unit for paymentRequest()
Purchase button click causes the site to hang. Developer console reveals an error coming from Stripe:
Uncaught IntegrationError: Invalid value for paymentRequest(): displayItems.0.amount should be an amount in the currency’s subunit. You specified: 214919.99999999997.
at new t (https://js.stripe.com/v3/:1:11100)
at Lt (https://js.stripe.com/v3/:1:21083)
at xt (https://js.stripe.com/v3/:1:21154)
at new t (https://js.stripe.com/v3/:1:88950)
at $a (https://js.stripe.com/v3/:1:117126)
at e.<anonymous> (https://js.stripe.com/v3/:1:174678)
at e.paymentRequest (https://js.stripe.com/v3/:1:29388)
For a Subscription purchase with the following specification:
“Free for 7 days, then £2,149.20 every 12 months until cancelled”
Also noting several miscellaneous errors occurring when updating subscription packages and working with multiple currencies.
As of 17/08/2020 every plugin component is up to date.
The issue seems to be caused by Additional Payment Methods add-on. I was unable to reproduce it on my test server though. Can you please share a link to your website where your payment button is?
You must be logged in to reply to this topic.