Why is PayPal not working on this new form.

  • AgilityAssoc.Canada
    Asked on February 26, 2020 at 7:11 PM

    Hi,

    My new form, https://form.jotform.com/200564352080042, appears not to be working with PayPal. After submitting it goes directly to thank You page.

    What am I not doing correctly?

    Thank you,
     Robert

  • Ashwin JotForm Support
    Replied on February 27, 2020 at 12:03 AM

    I am sorry for the trouble caused to you. I did check your form and did not find any issue with that. You have configured Paypal payment tool correctly and it should work as expected. If "IDfee" has value, user will be redirected to Paypal page successfully.

    I did test your form and I am able to replicate the issue you are having. I was not redirected to PayPal checkout page. Let me test this form further and get back to you soon.

  • AgilityAssoc.Canada
    Replied on February 27, 2020 at 8:34 AM

    Hi, Thanks for verifying. Robert

  • Ashwin JotForm Support
    Replied on February 27, 2020 at 9:51 AM

    The issue seems to be caused because of the condition you have added in form. When the form is submitted, the value of the "IDfee" is reset to zero and that is the reason why users are not redirected to Paypal checkout page. 

    Please review the conditions you have added in form and I will also check the issue further but it may take some time. I will get back to you as soon as I am able to fix the issue. 

  • AgilityAssoc.Canada
    Replied on February 27, 2020 at 11:21 AM

    Hi,

    I changed the form to default to the value I want by changing calculated values. This fixed the problem.

    This is not what I wanted to do. I wanted the value to be calculated then input to PayPal submitted.

    The idea is to take the calculated value from radio buttons, Member 6.00 or 12.00, Non-member 7.00 or 15.00 then multiply it by 1.03. Then put this value into "IDFee" which PayPal uses. It appears that my current method accomplished this, before it was submitted.

    My next thought is to take the value from selected radio button, multiply it by a fixed field numeric value,(1.03) and insert this into "IDFee". I like this because it is then very easy to edit if need be.

    I understand you are doing some testing at your end, I will wait for your feed back.

    TNX, Robert


  • Ashwin JotForm Support
    Replied on February 27, 2020 at 12:54 PM

    I was able to fix this issue with a little workaround. Here are the steps I followed to fix the issue:

    #1. I disabled all insert conditions in form to populate the "IDFee" form calculation widget.

    #2. I added two separate form calculation widget one for "Member" and another for "Non-member" IDfee calculation.

    #3. I updated "IDFee" widget formula to display value of "Member IDFee" and "Non-member IDFee" widgets.

    #4. I set the form setting "Clear Hidden Field Values" to "Clear on Being Hidden".

    Please take a look at the following cloned form and see if it works as expected: https://form.jotform.com/200569077842966 

    Feel free to clone this form for a closer look at the form. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you need any other changes.

  • AgilityAssoc.Canada
    Replied on February 27, 2020 at 3:18 PM

    I cloned your form... thanks... It appears to be working correctly now.

    I do have a couple of questions.

    1. I use Sheet-2-Form, the field names are not the same. Should I hide the the English Sheet-2-Form version and display the French one using the condition for language chosen?

    2. At the bottom of the form is an optional radio button for filling out a membership application with a redirect, if yes to our application form. How will this work with the PayPal redirect, will it go to the membership application after PayPal transaction is completed?
    (note: separate redirect required for each language so, different radio buttons appear by condition)

    Many thanks,
      Robert

  • denis_calin Jotform Support
    Replied on February 27, 2020 at 7:34 PM

    Hi Robert!

    1. Yes, you would have to use two Spreadsheet to Form widgets, and both of these widgets would have to use their own spreadsheets with columns that match the names of the fields in their language. You can set both of them to Hide Field and then use the Show/Hide Field conditions to Show each widget IF the language is equal to either English or French.

    2. We can use the Change "Thank You" Page condition for this. Please follow this guide: Change-Thank-You-Page-URL-Based-on-a-Condition, except select the Display a custom message on Submission for the DO field, IF your last radio button field is equal to YES. This will change the Thank You page that is being displayed after the customer is redirected back from PayPal. You can display the link to the membership application there. Unfortunately, the Redirect to URL after submission option does not work with PayPal redirection.

    Please let us know if you have any questions about any of these steps and we would be more than happy to help Robert!

  • AgilityAssoc.Canada
    Replied on February 28, 2020 at 9:34 AM

    Hi,

    Re: 2...  I have this already setup as you indicate. I will have to create an additional one for French.

    Actually my question is:
    After concluding PayPal transaction, if "Yes" or "Oui", are selected, it will be redirected to the appropriate AAC web-page to fill out a membership form and not the "Thank You" page.

    I think the answer is yes it will.  I just need confirmation. 

    Thank You,
     Robert

  • Ashwin JotForm Support
    Replied on February 28, 2020 at 10:52 AM

    Yes your understanding is correct. If you have added condition in form to redirect user to thank you page, after successful payment user will be redirected to that thank you page. 

    Hope this helps.

    Do try it out and get back to us if you have any questions.