- DrivePaymentsAsked on February 06, 2016 at 03:32 PM
I am receiving:Error on transactionAn error occurred while parsing EntityName. Line 1, position 749.
Please go back and fix this
This is only happening on recurring transactions. Thank you.
- BorisAnswered on February 06, 2016 at 11:13 PM
I see that you are using the method for multiple payment options on a form, by using several forms each with its own payment option. The form with recurring payments is this one:
I have cloned it into my own account for testing, and I was able to replicate the issue:
Upon examining it to greater length, it looks like the cause is the unsupported & character being used as Invoice Number Field input. You are passing whatever is selected in the Donation Type drop down field to Authorize.net, and trying to use it as your invoice number.
Invoice number can't contain any special characters, such as &, :, or /, which is why when selecting one of these options as your Donation Type the payment will fail:
General Care & Feeding of Shelter Animals
SPOT/Stop Pet Overpopulation Today!
STAR Fund: Medical Services for all Pets
EASY Fund: Medical Services for Dogs
Please either use some other field for your invoice numbers, or make sure that values in Donation Type field do not contain any special characters. I hope this helps.
- DrivePaymentsAnswered on February 06, 2016 at 11:26 PM
Thank you for the response. You will notice in that form that I also utilize a "one time" donation which is set up the same way recurring is (with passing "donation type" to "invoice number field." That system works fine and it's currently passing the data into authorize.net
I submitted a ticket a couple weeks ago because the recurring donations were not submitting "donation type" to authorize.net. Your dev team said it was a bug and fixed it - I tested it and it worked fine. Any other thoughts or ideas? I
- JotForm SupportBDAVIDAnswered on February 07, 2016 at 10:48 AM
The special characters is the problem, I just cloned your form an tested with my Authorize.net account, it did not work when choosing an option with special characters. I will report this to our second level, you will be notified via this thread about any updates.
- DrivePaymentsAnswered on February 08, 2016 at 12:23 PM
Ok I removed the special characters as requested. Now I'm getting this error. Frustrating...Error on transactionThe 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:invoiceNumber' element is invalid - The value 'General Care and Feeding of Shelter Animals' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.
Please go back and fix this
- CarinaAnswered on February 08, 2016 at 02:20 PM
This error means that the option "The value 'General Care and Feeding of Shelter Animals" is too big to be accepted. The maximum length of the Invoice number field is 20:
Let us know if the problem persists.