Reply
Highlighted
Member
Posts: 1
Registered: ‎10-10-2013

ERROR - The element 'interval' in namespace '...' has invalid child element 'unit' in namespace

May I ask if what is the problem why I'm getting this error?

 

The element 'interval' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'unit' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'length' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.

 

Thanks

 

NOTE: Language that we use is PHP and I'm not the main developer of this system that's why I don't know what did the first developer did to this. I'm also not familiar with the integration of authorize.net on a website.

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

Re: ERROR - The element 'interval' in namespace '...' has invalid child element 'unit' in namespace

[ Edited ]

It mean the xml it sending to authorize.net is not correct.

Look to me it is ARB? Follow the xml documentation. FYI, sequence matter. e.g. length is before unit

http://developer.authorize.net/api/arb/