Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 1
Registered: ‎11-11-2021

Do not get subscription from Get Transaction Detail API

[ Edited ]

Hi,

 

Now I am using Get Transaction Detail API (https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-transaction-detai...).


As my expectiation, when I receive recurringBilling=true in the response, I will also have the subscription information (id and payNum). 

{
  "getTransactionDetailsResponse": {
    },
    "transaction": {
      ...
      "recurringBilling": true,
      "subscription": {
        "id": "123456",
        "payNum": "1",
      }
      ...  
    }
  }
}


However, sometimes, there are the exception of this API's responses which does not include any subscription information but recurringBilling=true. I have checked the transactions are approved already and do not recognize any difference between those recurring billings.

 

I do not know why this issue happen and how to prevent it. Please help.

Thank you so much!

 

Posts: 34
Kudos: 2
Solutions: 4
Registered: ‎07-28-2014

Re: Do not get subscription from Get Transaction Detail API

Hi @gusnguyen,

 

recurringBilling indicator can be set by your system for recurring transactions that are created outside Authorize.net Automated Recurring Billing (ARB), check the Payment Transaction Developer Guide (Transaction Settings -> recurringBilling).

 

Thanks

-Mansour