Reply
Member
Posts: 1
Registered: ‎06-29-2015

Invalid child element 'order'

This error message only occurs from time to time and it not affecting all users/transaction. We are matching all requirements listed for SDK integration. This error message started last week...any advice?

 

Full error message:

 

Error: Error Message: The element 'profileTransAuthCapture' in namespace
'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'order'
in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible
elements expected: 'tax, shipping, duty, lineItems, customerProfileId' in
namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. E00003.

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Invalid child element 'order'

Their XML need to follow the seq listed on the schema. look like when the transaction have and "Order" it got place after the lineItem or the lineItem got place before the "Order" which would give you that error.

 

Might be a bug, send it to their github.com page