Error with form payment options

  • Profile Image
    secretarycanicrossireland
    Asked on January 15, 2020 at 02:21 PM

    Hi, I am having problems with one of my forms (Hearts and Hounds). It is an entry form for an event and one of the payment options is for free entry. When this option is selected, the following message appears: "Payment Error: Error: Expected an order id to be passed

    This does not happen when you choose the other payment option. I have also tried making a coupon that can be applied to the full payment option so that people get 100% discount, but the above message appears then too. 

    I hope this makes sense!! Can you help me please?

    Thanks!

  • Profile Image
    JohnRex
    Answered on January 15, 2020 at 04:50 PM

    The error happens when you click the PayPal Checkout button but:

    1. You did not select any products from the payment field

    2. You selected a product but the quantity is 0. 

    Here's a screen recording of my test transaction:

    15791250432117535.gif

    I would suggest setting the quantity to a minimum of at least 1:

    15791249942117535.png

  • Profile Image
    secretarycanicrossireland
    Answered on January 16, 2020 at 02:13 PM

    Hi, 
    Thanks for your reply. The issue is that, once someone selects the free option, the error message appears. We want some people to be able to fill in the form and select the free entry option, but all of the options I've tried keep coming up with the same message. Even when I have the quantities set to 1.

    Thanks,

    Louise


  • Profile Image
    JohnRex
    Answered on January 16, 2020 at 03:41 PM

    Hi Louise,

    I was able to devise a workaround for that. Since NEW MEMBERS aren't required to pay a fee, I suggest taking them out in the payment field. Then add a new Single Choice field that asks if NEW MEMBER and a number field to where the quantity can be entered.

    15792072072117535 3.png

    Use a SHOW/HIDE FIELD condition based on the option selected from the Single Choice field. If the user chooses YES, then show the Number field while hiding the Paypal field.

    Here's a condition you can use:

    15792072212117535 4.png

    I have implemented this workaround to a cloned form to better illustrate the idea. Here's the link for you to try:

    https://form.jotform.com/200156377259963 

  • Profile Image
    secretarycanicrossireland
    Answered on January 16, 2020 at 03:44 PM

    That's brilliant!! That works so much better!! I'm not the most technologically minded person, so this is a huge help! Thank you again!!

  • Profile Image
    JohnRex
    Answered on January 16, 2020 at 04:49 PM

    You're welcome. Glad to know that the workaround achieves the requirement.

    Let us know if you need further assistance with this. We'll be happy to assist.