Hello,
I have developed the attached XML file for ARBCreateSubscriptionRequest. Unfortunately, after following that ARB Guide as directed by Authorize.net support, I received the attached error message. Can you please send me suggestions to resolve the attached error message pertaining to the attached XML file? Also, can you send me sample ARBCreateSubscriptionRequest scripts which include and email address and phone number within the credit card payment form?
I am a customer of Authorize.net and haven't been able to process transactions for the past week because of this error. Please send me sample scripts of ARBCreateSubscriptionRequest XML file so that we can mimic code and correctly submit our credit card transactions today.
Here is a sample of my current XML file which I need to modify for adding email address and phone number which are entered at time of credit card payment for processing:
"<?xml version=\"1.0\" encoding=\"utf-8\"?>" .
"<ARBCreateSubscriptionRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\">" .
"<merchantAuthentication>".
"<name>" . $x_login . "</name>".
"<transactionKey>" . $x_tran_key . "</transactionKey>".
"</merchantAuthentication>".
"<refId>" . $refId . "</refId>".
"<subscription>".
"<name>" . $payment->pay_message . "</name>".
"<paymentSchedule>".
"<interval>".
"<length>". $p[number] ."</length>".
"<unit>months</unit>".
"</interval>".
"<startDate>" . $expiredate . "</startDate>".
"<totalOccurrences>9999</totalOccurrences>".
#"<trialOccurrences>". $trialOccurrences . "</trialOccurrences>".
"</paymentSchedule>".
"<amount>". $payment->pay_samount ."</amount>".
#"<trialAmount>" . $trialAmount . "</trialAmount>".
"<payment>".
"<creditCard>".
"<cardNumber>" . $CC_CCNumber . "</cardNumber>".
"<expirationDate>" . $CC_ExpDate . "</expirationDate>".
"</creditCard>".
"</payment>".
"<billTo>".
"<firstName>". $CC_FirstName . "</firstName>".
"<lastName>" . $CC_LastName . "</lastName>".
"<address>" . $CC_Address . "</address>".
"<city>" . $CC_City . "</city>".
"<state>" . $CC_State . "</state>".
"<zip>" . $CC_ZipCode . "</zip>".
"<country>" . $CC_Country . "</country>".
"</billTo>".
"</subscription>".
"</ARBCreateSubscriptionRequest>";
Thanks,
Maurice Trentel
mtrentel@e-llure.com
404-859-5701
03-18-2013 11:24 AM
What error?
You just have to use the same sequence as shown on the XML documentation page 11
03-18-2013 11:46 AM