- poudreriverAsked on May 02, 2016 at 11:53 AM
I have created a form with the option to pay by mailing a check or online via PayPal. I have a thank you page set up for the paypal payment as a default. I have a thank you page redirect to another page for the mailed payment option. When I test the form and choose mailed payment, it works fine - It redirects me to the proper thank you page. However, when I test the form and choose PayPal payment, I am not directed to PayPal, but just go directly to the thank you page. I have tested this in the past and it worked fine. Now it doesn't. Please help!
I've tested it a few more times. Sometimes when I specify PayPal payment, it goes to PayPal (1 out of 10 times or so). Sometimes, it just goes directly to the thank you page. Sometimes when I select mail check, it goes to PayPal with an error (of course). Sometimes, it goes to the thank you page with mailing info. How can this possibly be happening randomly?
- poudreriverAnswered on May 02, 2016 at 12:22 PM
- JotForm SupportdavidAnswered on May 02, 2016 at 01:50 PM
If the total comes to 0, the form will not redirect to PayPal. Since there is no payment to be collected, there is no need to forward to PayPal once the form is submitted. Only if the total to be passed to PayPal is greater than 0 will the form redirect to PayPal for payment.
- poudreriverAnswered on May 02, 2016 at 01:57 PM
Thank you for your answer. However, the amount is never $0. Also, I am directed to PayPal when I have selected pay by check. The conditions should direct me to the payment by mail thank you page.
- JotForm SupportdavidAnswered on May 02, 2016 at 03:00 PM
When I first checked the form, the total due was empty unless a selection was made. If the is a total collected in the PayPal field, the user will always be redirected to PayPal. If you need to offer payment by check or PayPal, here is our guide on how to set it up so that the user is not redirected to PayPal when check is selected:
The conditions UI screenshots are a bit outdated, however, the conditions should still work the same.
- poudreriverAnswered on May 02, 2016 at 03:12 PM
Yes, but the form cannot be submitted unless a selection is made. I've actually just dumped that form because I couldn't get it to work after many hours of fighting with it. I did follow all the steps a the link you've shared. Double, triple, quadruple checked and still didn't work. So much wasted time. I had to move on. Thank anyway.
- JotForm SupportdavidAnswered on May 02, 2016 at 04:24 PM
I believe I have set up the form how you would like. I switched from using conditions to using to using calculation values and a calculation field:
I then showed either the calculation field or the PayPal field, depending on which form of payment was selected. Here is the resulting form:
It should be working as expected. You can clone it to your own account to see the full setup:
- poudreriverAnswered on May 02, 2016 at 04:38 PM
I'll have a look. Thanks!
- JotForm SupportdavidAnswered on May 02, 2016 at 06:06 PM
Very welcome! If anything is not working as you'd like it or if you'd like clarification on how anything was done, let us know and we will be happy to help.