• Using the new SCA API, the amount is not being passed to Stripe and instead an amount input appears in the modal.

    This is undesirable as it is not possible to use this implementation for fixed amount uses, e.g. donations.

    You can see the issue here: https://demo.campaignpro.net (click the “GIVE” button in the Header).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi.

    It does not indeed as it does not support any frontend variables passing.

    But I understand what you’re after. I assume you do know JavaScript (if that “Give” form was written by you)? If yes, I can add some options support for the payment popup form, which you can pass via JavaScript.

    Thread Starter NewJenk

    (@newjenk)

    Hi Alexander,

    Thanks for getting back to me so quickly.

    If you could do that it would be great.

    With the legacy API it was really flexible, allowing specific amounts to be selected or for the end-user to choose set amounts. Similarly, on one page you can have any number of Stripe buttons, some with fixed amounts, others with an “any amount” input.

    Retaining this functionality with the new API would be fantastic.

    Also, feel free to take a look at the payment form here: https://demo.campaignpro.net/donate/ (which is also powered by your plugin). The way it’s set up is by using shortcodes, and if checkboxes are checked (for donating monthly or monthly newsletter) then the different shortcodes are displayed. Here’s a quick video showing how it’s edited on the edit screen: https://www.loom.com/share/0e860da6bc7446e18f2373d7b2a0f5bc.

    Let me know if you need any more info.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SCA: Amount Not Being Passed To Stripe’ is closed to new replies.