Form navigates to PayPal even if pay by check is selected

  • Bonsqueal
    Asked on February 9, 2017 at 7:52 AM

    Hello,

     

    I'm having a recurring issue with payment options on my form. There's a radio button field to choose to mail a check or pay via PayPal, with conditional logic to hide PayPal fields if "check" is selected and clear hidden fields on submission, but on testing out the form, it's still navigating to PayPal. I've tried cloning it, but it's still stuck on this. Is there anything else I can try?

  • liyam
    Replied on February 9, 2017 at 8:50 AM

    Hello Bonsqueal,

    I just tested your form and it now works on not sending to PayPal if the Check is selected. With this, I believe your problem has already been resolved.

    But if this is not the case, please let us know.

    Thanks.

  • Bonsqueal
    Replied on February 9, 2017 at 8:55 AM

    Thanks, it was - I searched the threads for similar issues and found a work-around. For anyone reading this with a similar problem I'll post the solution:

     

    Initially I had two Form Calculation widgets that computed the total owed, one for check payment and one for PayPal payment, with conditions on the form to hide each if the other was selected - and to clear hidden fields on submission. That should have been enough, and has been on other forms, but this time it wasn't working.

     

    What I ultimately did was take the calculations out of the widgets, and instead used new conditions to calculate in those fields IF the chosen payment method was selected. This ensured that the Form Calculation widget related to the PayPal option would stay completely empty if check was selected, and, with the field remaining empty, it didn't navigate to PayPal on submission anymore.

     

    Anyway, thanks for looking!

  • liyam
    Replied on February 9, 2017 at 9:26 AM

    Thank you for sharing your workaround, Bonsqueal. The option on empty hidden fields on submit and with Calculation widgets can indeed be confusing since the calculation widget is designed to work whether it is shown or hidden.

    We'll take note of this one and ensure that this information can be added on the help guide.

    In any case, if you get to experience other problems, please do not hesitate to let us know.

    Thanks.