Reply
Contributor
Posts: 14
Registered: ‎04-30-2012
Accepted Solution

XML parse error in ARB

Hello,

 

I used AIM for first month payment and ARB to create subscriptions and it was working fine...but now the AIM transaction goes through but on creating subscriotion I get error code E00003. Are there any changes in submitting XML or what ??

 

Thank you in advance.


Accepted Solutions
Solution
Accepted by topic author subashkc1
‎08-21-2015 01:58 AM
Contributor
Posts: 14
Registered: ‎04-30-2012

Re: XML parse error in ARB

fixed...date format conversion was missing while transferring to production server.

View solution in original post


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

Re: XML parse error in ARB

what?

 

Can you post the xml that are getting the E00003. Thing to look for, that element seq matter in authorize.net XML.

Contributor
Posts: 14
Registered: ‎04-30-2012

Re: XML parse error in ARB

Hello,

 

Thank you for your response...here is the xml

 

 

$content = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" .
"<ARBCreateSubscriptionRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\">" .
"<merchantAuthentication>".
"<name>Name</name>".
"<transactionKey>KEY</transactionKey>".
"</merchantAuthentication>".
"<subscription>".
"<paymentSchedule>".
"<interval>".
"<length>".$payment_length."</length>".
"<unit>".$payment_unit."</unit>".
"</interval>".
"<startDate>" . $startDate . "</startDate>".
"<totalOccurrences>9999</totalOccurrences>".
"</paymentSchedule>".
"<amount>". $recurringAmount ."</amount>".
"<payment>".
"<creditCard>".
"<cardNumber>" . $cardNumber . "</cardNumber>".
"<expirationDate>" . $expirationDate . "</expirationDate>".
"</creditCard>".
"</payment>".
"<billTo>".
"<firstName>". $fname . "</firstName>".
"<lastName>" . $lname . "</lastName>".
"<state>" . $state . "</state>".
"<zip>" . $zip . "</zip>".
"</billTo>".
"</subscription>".
"</ARBCreateSubscriptionRequest>";

 

Can you specify what is wrong here ?

Solution
Accepted by topic author subashkc1
‎08-21-2015 01:58 AM
Contributor
Posts: 14
Registered: ‎04-30-2012

Re: XML parse error in ARB

fixed...date format conversion was missing while transferring to production server.