How to Create Multiple Payments Form?

  • bdj1485
    Asked on June 21, 2022 at 1:47 AM
    I want to create a multiple payment page and thank you page for hipaa form. How to create it please suggest me
  • Sheena JotForm Support
    Replied on June 21, 2022 at 1:51 AM

    Hello Jelani,

    Thanks for reaching out to Jotform Support. Please note that only one payment integration can be used in each form. There is a workaround that will allow you to have multiple payment methods on your form, however, it will require you to create 3 forms to be able to have two payment methods. We have a guide here that you can check.

    The first form will be the main form that will house the two forms. The second form will have the first payment method, while the third form will have the second payment method. In my demo form, I used PayPal Standard integration in my second form. While in my third form I used the Square integration.

    Please see the steps and screenshots below on how to create a multiple payment form:

    • On the Main Form, Add a Single Choice Field where users can choose which payment method they prefer:

    1653327685 628bc745bb398 a Screenshot 10

    • Then add two iFrame Embed widgets where the PayPal Standard form and Square form will be embedded.

    1653327718 628bc766a0118 b Screenshot 21

    • Create the other two forms ( PayPal form and Square Form). If you already have a form set up, I would suggest cloning it and making the cloned copy your third form. Please see our guide on how to clone an existing form from your account at this link.

    1653327863 628bc7f716c2d 3 Screenshot 32

    • The cloned form can be switched to the other preferred payment gateway. See the screencast below:

    1653327912 628bc82854d41 switch payment Screenshot 43

    • Get the form URLs of the second and third forms.

    1653327948 628bc84ca7c1a 5 Screenshot 54

    • Go back to the Main Form and paste the URL of the second and third forms in the iFrame Embed widgets that were added earlier.

    1653327991 628bc877c3620 6 Screenshot 65


    • Set up a condition in the Main Form that will show the specific iFrame Embed widget based on the option chosen from the Single Choice element.

    1653328026 628bc89a96647 8 Screenshot 76

    1653328044 628bc8ac78329 e Screenshot 87

    • Make sure to remove the submit button from the main form. Users will submit the entries from one of the payment forms.

    If you would like to see my main form, it can be found here.

    Also, we have a guide about Setting up the Thank You Page that could help you. If you can please explain more of what you waited to achieve so we can help you with it.

    Give it a try let us know how it goes.

  • bdj1485
    Replied on June 28, 2022 at 3:00 AM

    Hello Team,

    I have created conditional login form and hide some pages but it is not working. Can you check it once and let me know why it is working. Earlier it was working.

  • Sweta JotForm Support
    Replied on June 28, 2022 at 3:56 AM

    Hello Jelani,

    Thank you for your feedback. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

  • bdj1485
    Replied on June 28, 2022 at 7:25 AM

    Hello Team,


    Please check it once and let me know why it is not working.

  • Sweta JotForm Support
    Replied on June 29, 2022 at 1:11 AM

    Hello Jelani,

    Since you have 6 options so a lot of combinations can be made to hide the pages so you can follow this workaround:

    I have added a unique numeric value to every option. This way, no matter what combination of options is selected, the total value is always going to be different. I have disabled all current conditions related to hiding a page. For each page, a condition is created. You need to select the options that you are currently modifying and check the value of the page calculation. Then, add that number to the condition related to the pages they need to hide.

    1) Assign a value to each service:

    • California $39=1
    • Missouri $99=2
    • New York $99=4
    • Ohio $99=8
    • Oklahoma $99=16
    • Pennsylvania $99=25

    1656477435 62bbd6fb8d1cf  Screenshot 10

    2) Get the total in a Form Calculation field:

    1656477513 62bbd7497976f  Screenshot 21

    Add conditions to hide a page. For each combination of options selected, the total value is always going to be different. If you think a particular value should hide a page then add that value in the corresponding condition. I'll explain you with this example:

    When you select California it will give you 1 and when you select Missouri it will give you 2. We need to hide all the pages except for the California page so we will have to write all the values from the combinations. I came up with the following values to hide the Page 3:

    1656479126 62bbdd96a3080  Screenshot 32

    Check out the screencast based on my testing:

    1656479176 62bbddc81a519 jot122 Screenshot 43

    Another example that I can walk through is to hide the New York page. Check out the screencast to generate a different combination of values:

    1656479387 62bbde9b79a59 jot122 Screenshot 54

    This is the link to my form. You can clone my form to review the conditions further.

    https://form.jotform.com/221790833881968

    Keep us updated and let us know if you need any further assistance.