Reply
Member
Posts: 4
Registered: ‎10-12-2014

Subscription info

 

Hi.

Im using standard API functions for ARB subscription. And I fill in next fields:

 

<customer>
<id>123</id>
<email>my_mail@mail.com</email>
<phoneNumber>123</phoneNumber>
</customer>

 

But these fields in the Autorizes letters are empty every time. There are no e-mail, mobile phone number, users ID in the block CUSTOMER BILLING INFORMATION. Is there any possibility to transfer this information to the Autorizes letters?

Posts: 2,765
Topics: 57
Kudos: 251
Blog Posts: 67
Registered: ‎12-05-2011

Re: Subscription info

Can you provide the entire gateway reponse so we can help troubleshoot further?

 

Richard

Member
Posts: 4
Registered: ‎10-12-2014

Re: Subscription info

[ Edited ]

Hi Richard. Full response with headers:

 

HTTP/1.1 200 OK
  Cache-Control: private
  Content-Length: 433
  Content-Type: text/xml; charset=utf-8
  Server: Microsoft-IIS/7.5
  X-AspNet-Version: 2.0.50727
  X-Powered-By: ASP.NET
  Date: Wed, 15 Oct 2014 16:57:20 GMT
   
   

 

 

<?xml version="1.0" encoding="utf-8"?><ARBCreateSubscriptionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><refId>1413392239.97136</refId><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><subscriptionId>22372590</subscriptionId></ARBCreateSubscriptionResponse>

 

 

Posts: 2,765
Topics: 57
Kudos: 251
Blog Posts: 67
Registered: ‎12-05-2011

Re: Subscription info

We'll need your XML request as well.

 

Richard

Member
Posts: 4
Registered: ‎10-12-2014

Re: Subscription info

[ Edited ]

In the menu Subscription Status Report(ARB Subscription Detail) I see all customer's information I need to see. But there is no this info in e-mails. Example of sending XML:

 

<?xml version="1.0" encoding="utf-8"?>
<ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <merchantAuthentication>
    <name>xxxxx</name>
    <transactionKey>xxxx</transactionKey>
  </merchantAuthentication>
  <refId>1413401897.64100</refId>
  <subscription>
    <name>subscription_plan_1</name>
    <paymentSchedule>
      <interval>
        <length>1</length>
        <unit>months</unit>
      </interval>
      <startDate>2014-11-15</startDate>
      <totalOccurrences>9999</totalOccurrences>
      <trialOccurrences>0</trialOccurrences>
    </paymentSchedule>
    <amount>0.01</amount>
    <trialAmount>0</trialAmount>
    <payment>
      <creditCard>
        <cardNumber>********0908</cardNumber>
        <expirationDate>2099-06</expirationDate>
      </creditCard>
    </payment>
    <customer>
      <id>126022762</id>
      <email>test@email.com</email>
      <phoneNumber>3067434235</phoneNumber>
      <faxNumber>0967334321</faxNumber>
    </customer>
    <billTo>
      <firstName>Test</firstName>
      <lastName>Testovich</lastName>
    </billTo>
  </subscription>
</ARBCreateSubscriptionRequest>