• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Unable to purchase a subscription plan – Invalid unit for paymentRequest()

[Resolved] Unable to purchase a subscription plan – Invalid unit for paymentRequest()

· ·

Home › Forums › Stripe Payments Plugin › Unable to purchase a subscription plan – Invalid unit for paymentRequest()

  • This topic has 1 reply, 2 voices, and was last updated 4 years, 8 months ago by alexanderfoxc.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 17, 2020 at 8:41 am #3160
    cadonix
    Participant

    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.

    August 17, 2020 at 10:54 pm #3161
    alexanderfoxc
    Participant

    Hi.

    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?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.