I have 2 questions regarding the ARB xml interface.
First, the PDF doc says that there must be a payment node in the xml:
<?xml version="1.0" encoding="utf-8"?>
<ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/
AnetApiSchema.xsd">
<merchantAuthentication>
<name>mytestacct</name>
<transactionKey>112223344</transactionKey>
</merchantAuthentication>
<refId>Sample</refId>
<subscription>
<name>Sample subscription</name>
<paymentSchedule>
<interval>
<length>1</length>
<unit>months</unit>
</interval>
<startDate>2007-03-15</startDate>
<totalOccurrences>12</totalOccurrences>
<trialOccurrences>1</trialOccurrences>
</paymentSchedule>
<amount>10.29</amount>
<trialAmount>0.00</trialAmount>
<payment>
<creditCard>
<cardNumber>4111111111111111</cardNumber>
<expirationDate>2008-08</expirationDate>
</creditCard>
</payment>
<billTo>
<firstName>John</firstName>
<lastName>Smith</lastName>
</billTo>
</subscription>
</ARBCreateSubscriptionRequest>
However, when I include that node, I get an error saying that this was not expected inside a <subscription>. How do I pass the payment data in? Also, can I pass in a payment id from a customer stored in CIM? Meaning, I create a customer and payment in CIM and then I pass the CIM id to ARB?
Also, ARB does not support test mode, so whats the best way to test ARB without using live money?
09-30-2013 10:30 AM
09-30-2013 05:17 PM