Reply
Member
Posts: 3
Registered: ‎05-18-2017

How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

I'd like to be able to implement an automated system where I can get notified programatically if an ARB subscription has expired or a recurring transaction has failed.  It'd be great to implement via CODE so that it is automated without having to take care of this manually. I read about Silent post and saw the settings but when I tried to find the documentation regarding silent post, the parameters to expect, etc ... I couldn't find any relevant info.

 

I'd really appreciate your help in this.

 

 

Posts: 63
Topics: 0
Kudos: 4
Blog Posts: 0
Ideas: 0
Solutions: 3
Registered: ‎04-28-2017

Re: How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

You can choose to receive Automated Recurring Billing™ (ARB) e-mail notifications in the Merchant Interface:

1) Log into your Merchant Interface at https://account.authorize.net

2) Click Recurring Billing in the main left side menu.

3) Click Configure ARB Email Notifications.

4) Check the boxes for the e-mail notifications you wish to receive.

5) Click Submit to create the subscription.

 

The e-mails available include:

  • Daily Transaction Summary — A daily summary of transactions associated with your ARB subscriptions. This e-mail type includes a CSV file each for successful and failed transactions.
  • Failed Transaction Notice — Notification of failed transactions for your ARB subscriptions.
  • Subscription Due for Expiration — Notification of upcoming subscription expirations.
  • Credit Card Expiration — Notification of upcoming credit card expirations for ARB subscriptions.
  • Subscription Suspension — Notification of suspended subscriptions for reasons of transaction decline, rejection, or error.
  • Subscription Expiration — Notification of subscriptions that have expired.
  • Subscription Termination — Notification of subscriptions terminated by the payment gateway.
Powered by NexWebSites.com -
Certified Authorize.net developers
Member
Posts: 3
Registered: ‎05-18-2017

Re: How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

Hello,

 

That I already know, I know merchants can set those settings to receive notifications. What I'm looking for is a way that as soon as a recurring transaction fails, the user subscriptions get cancelled  via code. Basically I'd like to be able to detect programatically when future recurring payment fail so that the code can take care of cancelling premium members on our site without having to check every day and do the manual work. I've head of silent post but there's no documentation about it.

Posts: 63
Topics: 0
Kudos: 4
Blog Posts: 0
Ideas: 0
Solutions: 3
Registered: ‎04-28-2017

Re: How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

While Silent Post is a supported service, it is strongly recommend that you use Webhooks to receive transaction updates and other event notifications from the Authorize.Net Payment Gateway. Visit http://developer.authorize.net/api/reference/features/webhooks.html for more information on Webhooks.

Powered by NexWebSites.com -
Certified Authorize.net developers
Highlighted
Posts: 2,251
Topics: 51
Kudos: 151
Blog Posts: 64
Registered: ‎12-05-2011

Re: How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

Hello @areteem

 

In code, you could use Webhooks to notify you when a transaction is created, and then use getTransactiondetails to determine if the transaction was for a subscription payment along with the status.

 

You could also suggest a new webhook just for failed subscription payments in our our Ideas forum. This will allow others to vote on and make suggestions to improve the request.

 

Richard

 

 

 

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.
Member
Posts: 3
Registered: ‎05-18-2017

Re: How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

Hello @RichardH

 

So I have looked into Webhooks and it looks like it could be the solution. So I went into the Merchant interface to set up a webhook to get notified about transactions about future subscriptions. I  tried to set up a webook by providing an endpoint url, a name and active status. After submitting, I get an error message saying that I need to sign up for a signature key. The thing is that I already have a transaction or signature key that I got to start processing transactions months ago as a merchant. I am confused as to why it's asking me for a signature key since I already have a transaction key.  As far as my research goes, transaction key is the same as signature key or is there a separate kind of signature key dedicated to webhooks ??

Posts: 2,251
Topics: 51
Kudos: 151
Blog Posts: 64
Registered: ‎12-05-2011

Re: How can I get notified via CODE that an ARB subscription transaction has failed or expired ??

Hello @areteem

 

A signature key is separate from a transaction key.  You can see how to generate one at https://support.authorize.net/authkb/index?page=content&id=A1714&actp=search&viewlocale=en_US&search...

 

Richard

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.