PayPal Payment not working - Form is not being redirected.

  • HACA
    Asked on April 4, 2017 at 9:32 PM

    I have a form with PayPal.  I had cloned a form and changed the PayPal email.  However, when checking out the user is not redirected to PayPal, but sent the thank you.

    I deleted the PayPal check out and reconfigured, but it is still not working.

    I created a blank form with just the PayPal payment and it works.

    Need assistance figuring out the issue.

    https://www.jotform.com/build/70920723953963

     

    Thanks,

     

  • Charlie
    Replied on April 5, 2017 at 3:44 AM

    Hi,

    The reason why the form is not redirecting to the PayPal gateway page is that the value being purchased is "0". 

    If you check your list of submissions, you can see the "paypal_input" is "0": 

    PayPal Payment not working   Form is not being redirected Screenshot 50

     

    Here are the things needed to be fixed:

    1. First, open the widget settings for the "Payment Calculation" field, remove the excess "(" there. 

    PayPal Payment not working   Form is not being redirected Screenshot 61

     

    2. After that, open the widget settings for the "paypal_input" field. Remove all the text input there. You already have a conditional logic that inserts value here and this is a hidden field. 

    PayPal Payment not working   Form is not being redirected Screenshot 72

    3. Now edit the conditional logic that inserts value to the "paypal_input" field. Change the "DO" option to "Calculate a field's value", you'll see below that the "Payment Calculation" value is set to "A-Z", we want to change that to "0-9". You can follow my screencast below: 

    PayPal Payment not working   Form is not being redirected Screenshot 83

     

    4. Make sure to save the changes and test your form. You can test it out on this cloned form that I have: https://form.jotformpro.com/70941518520958. This is how the form behaves after the changes above. 

    Let us know if that works. 

  • HACA
    Replied on April 5, 2017 at 8:11 AM

    Thank you, I appreciate the quick response.  I will reset.  However, I do want to note that there was not a $0 amount in the PayPal input field because the dollars shown in both the PayPal input and PayPal Amount due field was correct.  Thus, there was no indicator that field was not working or that the value being passed was $0.  Also, the form was working. I am unclear how the extra "(" was added. 

    PayPal Payment not working   Form is not being redirected Screenshot 20

    Thanks,

     

  • seth
    Replied on April 5, 2017 at 10:19 AM

    Hello,

    I sent a test submission to your form and I see that it redirects to PayPal page successfully.

    I am glad that your issue has been resolved.

    Please feel free to contact us for your further queries.

     

    Regards.

  • HACA
    Replied on April 5, 2017 at 10:59 AM

    Thank you.  I am not sure why it was not redirecting.  I would see on the form the following, but after submission show $0 in the PayPal Input so it went to the Thank You page.  I had to reset the field multiple times to hold the changes after saving.  

    PayPal Payment not working   Form is not being redirected Screenshot 20

    Thanks for the test and, yes it does seem to be working now.