Getting Authorized.net ARB Subscription Information Using Active Merchant?

I'm trying to write a test to check the start date and interval of an ARIS Authorize.net subscription created using Rails + Active Merchant.

I can successfully create a sub using response = GATEWAY.recurring(...) and get the success code.

However, after creating the subscription, as far as I can see from the Active Merchant documentation, I cannot request any information, for example, the start date.

The only methods available for ARB are:

cancel_recurring recurring update_recurring

Am I missing something obvious?

+4
source share
1 answer

The ARB API offers very limited reporting functionality. In fact, all you can get through this API is the subscription status (ARBGetSubscriptionStatusRequest). The only other options available to you are to create (ARBCreateSubscriptionRequest), update (ARBUpdateSubscriptionRequest), and delete (ARBCancelSubscriptionRequest). This is not a limitation of RoR. This is an API limitation. You can confirm this in the ARB manual .

Thus, any information that you want to track related to the subscription (start date, end date, amount, etc.) must be recorded by you in your database.

Authorize.Net has a new transactional API that they are constantly improving. But at the moment it does not report the information that you are looking for.

+7
source

All Articles