What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Multiple payment choices on submit where the price is defined by the form (it's not a choice between products).

    Asked by benrickard on October 04, 2016 at 07:40 PM

    Hi there,

     

    I have created a form (https://www.jotformpro.com/form/62079025870962) where a calculation determines whether the price (insurance premium in our case) is $199 or $250. This figure is then used in the Paypal payment plugin when the user clicks on the "Agree & Pay" (ie. Submit) button.  I want to add an option for the user to also "Agree & Pay" by another method (pay later by internet banking).

    However, the Multiple Payment Method recommended on the forum assumes the the user can select between products. This is not suitable for me as the user must pay the price determined by the calculation in the form and I don't want them to choose between two products. I also need them to receive an email confirmation containing the details of their entire application form.

    Is there a way for the user to choose between the two payment choices but still be able to use a calculation to input the price into the Paypal payment process (ie. a user defined price) if they choose that one?

    Thanks,

    Ben.

    Page URL:
    https://www.jotformpro.com/form/62079025870962

  • Profile Image
    JotForm Support

    Answered by Chriistian on October 05, 2016 at 12:26 AM

    Unfortunately it is not possible to have two or more payment integrations (example: Paypal and Stripe) on a single form without the use of iFrames as suggested in the guide for Multiple Payment forms.

    However, based on your requirement, I think you simply need to have a Paypal integration on your form, then you want to hide the Paypal field if the user selects "Pay later", is that correct? If that is so, then you can just use Show/Hide conditions to hide the Paypal field when the user chooses to pay later.

    By hiding the Paypal field, the user will not be redirected to the Paypal page when they click Submit. They will instead be redirected to the Thank You page or on a custom page you set.

    Here's a demo form so you can see it in action: https://form.jotform.com/62780674412963 

    If you need further assistance, please let us know.
    Regards.

     

  • Profile Image

    Answered by benrickard on October 11, 2016 at 11:48 PM

    Hi Chriistian, thanks for your response, I'll try this.

    On submission of the form can it redirect to a different thank you page or URL depending on which payment option they've selected? If they wan to pay by direct debit I want them to be directed to a page with our bank details. But if they pay by credit card I want them to receive a different message.

    Thanks,

    Ben.

  • Profile Image

    Answered by benrickard on October 11, 2016 at 11:50 PM

    Nevermind, I've just seen that as a conditional logic options so I'll try that first!

  • Profile Image

    Answered by benrickard on October 12, 2016 at 12:21 AM

    Right, so I've set up two different thankyou pages depending on the payment option chosen. However, when using conditions to set up a thankyou page there is no option to add form fields. How can I add form data to the thankyou page?

  • Profile Image
    JotForm Support

    Answered by Chriistian on October 12, 2016 at 01:57 AM

    You can add form data to the Thank You page by typing their Field Names in the Thank You message. Here's our guide on How to find field IDs and names.

    I checked the Thank You condition on your form and it looks like you were able to add form fields to the Thank You page. 

    However, it seems that the field names added in the Thank You message is different from the actual field name, which is why they are not displaying correctly. To resolve this, simply update the Thank You message with the correct Field Name.

    Here's how it will look after:

    If you need further assistance, please let us know.
    Regards.

  • Profile Image

    Answered by benrickard on October 12, 2016 at 04:12 PM

    Thanks for that, I see what I did wrong (the field name was longer than the box it was in so the last few characters were hidden - I had to scroll along to see the rest of the field name).