Using different currencies for Stripe subscriptions in same form

  • ChangeCraft
    Asked on March 31, 2020 at 8:13 AM

    We want to set up monthly and annual subscriptions through Stripe to a product with rates for both USD and GBP. Is that possible within the same form, or will I have to create two forms?

    https://eu.jotform.com/build/200893598349370

  • Sonnyfer JotForm Support
    Replied on March 31, 2020 at 10:52 AM

    Hi,

    Thanks for reaching out.

    Unfortunately, you can only set one currency per payment field. Also, by default, only one payment can be linked in a form.

    However, as a workaround, you can create a multi-currency (multi-payment) form by having three forms. The first form would ask if they wish to Pay in USD or GBP and then the other forms are with USD and GBP as currency option separately.

    Upon clicking USD, it would provide a link to a payment form having the currency setup as USD and the same for GBP.

    Detailed guide: How-to-Create-a-Basic-Multiple-Payment-Form

    Kindly note that the guide uses Purchase Order payment but the options are pretty much the same with Stripe.

    If this could work for you, kindly give it a try and let us know if you need further assistance.

  • ChangeCraft
    Replied on April 1, 2020 at 10:19 AM

    Thanks, that's helpful. However, I'm struggling to pass field values between the two forms. I'm following:

    https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form

    So Form 1 is:

    https://eu.jotform.com/build/200893598349370

    and I am trying to push the data in field names ourAnnual and ourMonthly to Form 2:

    https://eu.jotform.com/build/200912386749058

    Form 2 is then embedded as an iFRAME back into Form 1.

    Similarly, I am trying to move data in field names ourAnnual45 and ourMonthly43 to Form 3:

    https://eu.jotform.com/build/200913169889366

    with Form 3 also embedded as an iFRAME.

    Instead of bringing through the fields it's ignoring the curly brackets and treating is as text - so I'm getting text in the target cells of Form 2 e.g. {ourMonthly43} instead of of the value of the field ourMonthly43. 

    Here is URL prepopulating Form 2:

    https://form.jotform.com/200912386749058?monthlygbp={ourMonthly}&annualGbp={ourAnnual}

    and here is the same for Form 3:

    https://form.jotform.com/200913169889366?monthlyUsd={ourMonthly43}&annualUsd={ourAnnual45}

    Where is my silly mistake this time?

  • Ashwin JotForm Support
    Replied on April 1, 2020 at 12:29 PM

    If you want to populate fields of embedded form, the first change I would suggest you is to embed your form using default script embed code and not iFrame embed code. 

    How are you passing the data form one form to another form? I did check all the three forms you have mentioned and I was not able to find any URL parameter in thank you page or email alert or redirect URL.

    I would suggest you to please share the webpage URL where you have embedded your form and also explain how you are sending data form one form to another form using URL parameter and we will take a look.

    We will wait for your response.

     

  • ChangeCraft
    Replied on April 1, 2020 at 1:45 PM

    Hi Ashwin

    I'm afraid a lot of what you've said makes no sense to me, sorry. It's me that asking you how to pass data from one form to another. I was trying to do it through the URL coding in the iFRAME embed page, but that sounds like it might be wrong. It was your suggestion that I set up three forms to process GBP and USD payment collections, but I have no idea what I'm doing so I'm just trying to follow the online guidance. Why would I need a thank you page, email alert or redirect URL? Not at all clear to me sorry. I just want the data in one form to be handed over to another form now that you've told me to split them into three. Is there a better online guide? I have no idea what a 'default script embed code' might be.

  • Carlos_C
    Replied on April 1, 2020 at 4:11 PM

    Hello,

    Thank you for your message.

    Unfortunately, since the forms are embedded with iFrame the URL parameter is not working.

    My recommendation is to link the 3 forms using the conditional for the "Thank You" page, guide: Change-Thank-You-Page-URL-Based-on-a-Condition.

    Using different currencies for Stripe subscriptions in same form Image 1 Screenshot 30


    Using different currencies for Stripe subscriptions in same form Image 2 Screenshot 41

    If you need any further assistance, please let us know. We will be happy to help.

  • ChangeCraft
    Replied on April 2, 2020 at 9:59 AM

    Thanks for your help. I needed the Setting - Conditions - Thank You page selection as it had to go to two different URLs according to selections made on Form 1, but all good, that works now.