How can I prevent my form from going to Paypal when selecting the "pay by check" option?

  • asunnyday98
    Asked on June 14, 2016 at 8:24 PM

    I thought I had all of the conditions set up correctly but it still goes to Paypal when clicking the submit button even though I have selected "pay by check." I found another item in the forums that states that you need to put in calculations. I did this also and it still will not work. The "pay by Paypal" selection works perfectly but the "pay by check"...not so much. What am I missing!!!!

    Thanks in advance...

  • Chriistian Jotform Support
    Replied on June 14, 2016 at 10:37 PM

    To prevent the form from going to paypal, you will need to hide the payment field itself from the form. To do so, simply modify your condition to show or hide the paypal payment field when the user selects or deselects the "pay via paypal" option.

    How can I prevent my form from going to Paypal when selecting the pay by check option? Image 1 Screenshot 30

    Once you have set that condition, you will be able to submit the form without going to the paypal page when the user selects "mail a check."

    Here's a demo so you can see it in action: https://form.jotform.com/61658742681970.
    You can also clone the demo form to your account to see the conditions.

    How can I prevent my form from going to Paypal when selecting the pay by check option? Image 2 Screenshot 41

  • asunnyday98
    Replied on June 15, 2016 at 10:36 AM

    Thank you, I do see how that will work, but I want the totals for annual and bi-annual to show for the "pay by check" also. If I hide the paypal payment field, then they won't know the totals? How can I set it up as in this example: https://form.jotform.com/61225705724957...is it possible?

  • asunnyday98
    Replied on June 15, 2016 at 11:06 AM

    I did try as you suggested and everything worked correctly except there isn't a way to show in the submission which membership that the person paying by check is going to choose. I understand that we will know when the check is received but we need it to also show in the submission form. I am sure I am missing something simple as I have used a form before for another site that was via credit card or paying on-site and it worked perfectly!

  • David JotForm Support
    Replied on June 15, 2016 at 12:24 PM

    For this set up, you would need to use regular fields for your membership options.  Checkboxes, radio buttons, those sort of fields.  You would then assign your options calculation values:

    http://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    And total them up in a calculation field:

    http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    You can then pass that total to your conditionally shown payment field:

    http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    This way, your memberships will be shown regardless of which payment type is chosen.

  • asunnyday98
    Replied on June 15, 2016 at 12:39 PM

    Based on the last link that you sent, this will not work for subscriptions with Paypal since it must be a custom payment field. My client needs recurring payments for paypal so that is why we were using subscriptions...any other suggestions on how to make this work?

  • David JotForm Support
    Replied on June 15, 2016 at 1:45 PM

    Subscriptions do indeed need to be set up within the payment field.  Usually when offering to pay by check, it is not a subscription type payment. 

    You could add products that have 0 cost and state that they are form check payment.  If the total comes to 0 in the payment field, the payment screen will be bypassed. 

    You could also create a multiple payment type form as described in this guide:

    http://www.jotform.com/help/182-How-to-Create-a-Basic-Multiple-Payment-form

  • asunnyday98
    Replied on June 15, 2016 at 2:17 PM

    I agree with the check not really being a a subscription type payment but that is how the client's current form works. I think I have managed to make it work by adding another payment field that is technically just text fields and not truly payment fields...just selections and they only show if paying by check. https://www.jotform.com//?formID=61654121328955.  I will look at the link that was just sent to me to see how it would apply or could apply. Thanks so much for the help...now I really just need to have Jotform add a 3 year subscription option and I believe I will have a perfectly happy client! :)

  • David JotForm Support
    Replied on June 15, 2016 at 3:29 PM

    I like your idea.  Showing a different set of options for check payment with regular fields should work. 

    The other setup I sent you would use multiple forms and may not be best suited if you client needs all their submission data in the same place.