What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Authorize.net: error on transaction when passing value with special characters to the invoice number field.

    Asked by DrivePayments on February 06, 2016 at 03:32 PM

    I am receiving: 

    Error on transaction
    An error occurred while parsing EntityName. Line 1, position 749.

    Please go back and fix this

    This is only happening on recurring transactions. Thank you.

    Page URL:

  • Profile Image

    Answered by Boris 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.

  • Profile Image

    Answered by DrivePayments on February 06, 2016 at 11:26 PM

    Hi Boris,


    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

  • Profile Image
    JotForm Support

    Answered by BDAVID 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.

  • Profile Image

    Answered by DrivePayments 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 transaction
    The '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
  • Profile Image

    Answered by Carina 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.