- jarmersonAsked on September 15, 2016 at 06:41 PM
How can I setup our form so if someone selects our offline option for payment their submission won't attempt to process via auth.net?
Right now if you select a payment option other than our auth.net and submit it gives an auth.net error stating the CC number isn't the correct length.
What we want is that option to be disabled UNLESS selected as method of payment.
- JotForm SupportChriistianAnswered on September 15, 2016 at 10:04 PM
Your form seems to be set correctly with regards to multiple payment options. However, I tested the integration on your Authorize.net payment field and I received an "Invalid merchant ID.." error. Please check your Auth.net API credentials and make sure they are correct, as this may be the reason why you are encountering the error upon submission.
You can also check out this guide for further details on How to Create a Basic Multiple Payment form. If the issue still persists, please let us know.
- jarmersonAnswered on September 20, 2016 at 08:28 PM
Thank you for your response. I have disabled test mode. Do you mind taking another look?
- JotForm SupportChriistianAnswered on September 20, 2016 at 09:58 PM
I checked your form further and it appears that you are automatically filling in the price on the Authorize.net integration with values from your hidden fields (Annual Membership, 8 Month Membership, etc.).
Since they are automatically filled with these prices, it tells the integration that it is being used which in turn causes you to receive an error when submitting the form. Essentially the auth.net integration is asking to finish completing the fields even though you have selected a different payment option.
Please allow me some time to setup a workaround on how to resolve this issue. I will be back shortly.
- JotForm SupportChriistianAnswered on September 20, 2016 at 10:16 PM
To resolve the error, please follow the steps below.
1. Create a new form and add the auth.net integration there. It should look like the one below.
2. Then remove the auth.net integration on your KAPE Membership Application form.
3. Add an iFrame embed widget to your KAPE Membership Application form and insert the URL of the new form that you created there.
4. Now you can use Show/hide conditions as before in order to show the iFrame if the user selects debit/credit.
After that, you're all set. Please note that the user will now have to manually enter the price, unless you set a default price instead of a variable price.
For more info on multiple payments, please check out our guide here: How to Create a Basic Multiple Payment form