• Resolved julhito2011

    (@julhito2011)


    Hello again,

    I’m using the Payment Plans Add-On plugin with Stripe and encountering an issue with the PaymentRequestButton.

    While the manual payment option works perfectly on Stripe, the PaymentRequestButton does not update the payment amount correctly when using Apple Pay or Google Pay. It only captures the base level amount, not the selected plan amount.

    For example, if the base level is set at $20, but the user selects an option for $30 or $50, the PaymentRequestButton still captures the initial $20 instead of updating to the chosen amount, like $30.

    This issue only occurs with the PaymentRequestButton, as Stripe itself functions correctly.

    paid-memberships-pro/js/pmpro-stripe.js

    PaymentRequestButton:

    paymentRequest = stripe.paymentRequest({
    country: pmproStripe.accountCountry,
    currency: pmproStripe.currency,
    total: {
    label: pmproStripe.siteName,
    amount: Math.round( data.initial_payment * 100 ),
    },
    requestPayerName: true,
    requestPayerEmail: true,
    });

    In initial_payment, the logic is capturing the level initial_payment, not the plan initial_payment

    Stripe Manual payment works fine.

    PayPal express works fine.

    The only issue is on PaymentRequestButton

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to the Paid Memberships Pro team.

    The Payment Plans Add On is a commercial Add On that cannot be supported on these forums due to the www.remarpro.com guidelines.

    Please reach out to us directly via our contact page https://paidmembershipspro.com/contact if you have any questions around this.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter julhito2011

    (@julhito2011)

    Hello,

    I’ve solved on my own, again.

    Thank you.

    Plugin Support Jarryd Long

    (@jarryd-long)

    Thank you for your feedback, I’m so glad to hear it’s working for you.

    Feel free to reach out if there’s anything else we can assist you with.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.