- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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


- ยซ Previous
-
- 1
- 2
- Next ยป