Paypal Integration not working properly

  • Profile Image
    beatsahead
    Asked on October 30, 2015 at 09:01 AM

    I have this working well on one of my forms http://dj-hire-london.co.uk/book/

     

    but the new one below submits all to paypal, whichever option they have checked for payment. 

    http://www.jotform.com/52734647551359 

     

    Can you tell me where I am going wrong?

  • Profile Image
    BDAVID
    Answered on October 30, 2015 at 01:32 PM

    I cloned your form, I reviewed your conditions, they are properly setup. I did some test, and no matter what option you choose, it takes you to Paypal page.

    I went to review your settings on Preferences,  I noticed that the "Clear Hidden Field Values" setting is set up to "Don't clear". So, what's happening here is that the Paypal field still receives values, even though is hidden, that's why it still redirects you to Paypal page.

    So, go to Preferences>Advance Settings, and set "Clear on Being Hidden" to the Clear Hidden Field Values setting:

    That will solve the issue. If you need anything else, please open a new thread, we will be glad to assist you.

  • Profile Image
    beatsahead
    Answered on October 30, 2015 at 02:35 PM

    Thanks for checking that out and coming up with a solution, it seems to have rectified it, however I am now getting this error message on submission. Warning: trim() expects parameter 1 to be string, array given in /home/content/97/11197497/html/dev1/wp-includes/query.php on line 1577

  • Profile Image
    BDAVID
    Answered on October 30, 2015 at 04:00 PM

    That's because you are sending Post data to your thank you page.

    Go to Preferences>Advanced Settings, and set the "Send Post Data" option to "NO", if you are not using it:

    If you are using it, make sure to validate your fields.

    Check also this guide: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

  • Profile Image
    beatsahead
    Answered on October 31, 2015 at 02:22 AM

    Ultimately I want to get the data to my 3rd party online planner, and had forgotten I;d left Post data on, thanks for all your help.

  • Profile Image
    beatsahead
    Answered on October 31, 2015 at 04:37 AM

    Now, my second form isn't displaying

    First form

    http://beatsahead.com/

    should submit to 

    http://beatsahead.com/dj-booking-page/?all2={all1}&peak2={peak1}&eventDate[month]={musicStart:month}&eventDate[day]={musicStart:day}&eventDate[year]={musicStart:year}

    but is getting stuck at 

    https://submit.jotformeu.com/submit/52762376904361/

  • Profile Image
    beatsahead
    Answered on October 31, 2015 at 07:08 AM

    working now

  • Profile Image
    Welvin
    Answered on October 31, 2015 at 01:35 PM

    That's great to know! Please contact us again if there are any problems.

    Thanks