cancel
Showing results for 
Search instead for 
Did you mean: 

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.

subashkc1
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3

what?

 

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

RaynorC1emen7
Expert

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 ?

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