cancel
Showing results for 
Search instead for 
Did you mean: 

E00003 - element 'lineItems' incomplete, expecting unitPrice

I'm caught in a wierd situation where I have a live site that's working perfectly, but my developer environment isn't. The only difference I can tell is that my developer copy's transaction queue is longer and is likely trying to process multiple line items whereas my live site runs monthly and processes only a single payment per month. When I run my payment processor cron, this is the error I get:

 

E00003

 

The element 'lineItems' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has incomplete content. List of possible elements expected: 'unitPrice' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.

 

I would post the request XML but I'm not entirely sure how to get to it. I'm using Authnet's CIM PHP library on Codeigniter.

 

Any ideas?

 

Thanks!

GolevelRyan
Member
11 REPLIES 11

unit price of zero. I don't think they like zero. or in your code change it to 0.00

That did the trick. Entering a value of 0, even if a string, gets counted as null, I think. Setting it as "0.00" made the transaction go through perfectly.

 

Thanks!