Hello,
I am making a request using createCustomerProfileTransactionRequest, and getting the following error response for one of my lineItems:
<?xml version="1.0" encoding="utf-8"?><ErrorResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00003</code><text>The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:name' element is invalid - The value '<the name of my line item goes here>' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.</text></message></messages></ErrorResponse>
The line item name that I'm trying to send is 36 characters.
I apologize if I'm missing something somewhere, but I cannot find anywhere (in documentation, or in the WSDLs) that shows what the maxLength value is. Also, it seems like 36 characters should be fine for a string.
So, does anyone know what that length is, or where I can find it?
Thanks,
Josh
Solved! Go to Solution.
12-05-2011 12:21 PM
On page 35 of the CIM Guide it says, "Up to 31 characters". If you shorten yours just a little bit it looks like it should go through.
12-05-2011 12:24 PM - edited 12-05-2011 12:25 PM
On page 35 of the CIM Guide it says, "Up to 31 characters". If you shorten yours just a little bit it looks like it should go through.
12-05-2011 12:24 PM - edited 12-05-2011 12:25 PM
Thank you. I can't believe I missed that.
12-05-2011 12:27 PM
Maximum length is upto 31 character. right.
But My product name is of 36 character.
there may not be any limitation of character when we add a product to database.
suppose my product name charachers exceeds 31 character. and still i want to my payment trasaction be successfull.
No error like "Actual length is greater than maximum length" should come.
Please anybody answer this..
01-22-2014 11:00 PM
truncate or substring the product name
or
don't use lineitem
01-23-2014 04:16 AM - edited 01-23-2014 04:18 AM
thanq
01-23-2014 10:44 PM
Dear,
How / where to see All Sandbox transaction histrory after sandbox login
01-23-2014 11:55 PM
on the left side under search
01-24-2014 04:14 AM
I ordered product today. and i m using authorize.net gateway. where i can see todays trasaction or transaction for recent order.
I logged into merchant account and go to report section . There todays date is not showing.previous date is showing.follow below screen shot
i also want to know difference between settled transaction and unsettled transaction. when and how a transaction is settled.
Can u help me ??
01-28-2014 03:34 AM
http://www.authorize.net/resources/howitworksdiagram/
Settlement run once a day. check the merchant account settings for the time it will run.
01-28-2014 04:36 AM