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

  • benrickard
    Asked on October 4, 2016 at 7: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.

  • Chriistian Jotform Support
    Replied on October 5, 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.

    Multiple payment choices on submit where the price is defined by the form (its not a choice between products) Screenshot 20

    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.

     

  • benrickard
    Replied 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.

  • benrickard
    Replied 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!

  • benrickard
    Replied 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?

  • Chriistian Jotform Support
    Replied on October 12, 2016 at 1: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. 

    Multiple payment choices on submit where the price is defined by the form (its not a choice between products) Screenshot 40

    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.

    Multiple payment choices on submit where the price is defined by the form (its not a choice between products) Screenshot 51

    Here's how it will look after:

    Multiple payment choices on submit where the price is defined by the form (its not a choice between products) Screenshot 62

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

  • benrickard
    Replied on October 12, 2016 at 4: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).