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!
Solved! Go to Solution.
05-28-2013 02:29 PM - edited 05-28-2013 02:30 PM
unit price of zero. I don't think they like zero. or in your code change it to 0.00
06-10-2013 01:54 PM - edited 06-10-2013 01:55 PM
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!
06-10-2013 02:35 PM