Authorize.net and ARB Race Conditions
So I've had a problem on a recent project ever since I started using Authorize.net's recurring billing system. While it works fantastically for the most part, I've had issues with canceling subscriptions during their nightly billing process. The issue at hand is that Authorize.net doesn't actually cancel a subscription if a transaction is declined. They leave the subscription active and will just continue to try again and again until the subscription actually ends. The above scenario doesn't really work for a subscription based website. Perhaps it does for a magazine, but if a user's payment on a site fails, the subscription should be immediately cancelled, the user should be notified, and then they can attempt to renew the subscription at their convenience. That's all well and good, no problem. When I receive the nightly post from Authorize.net with all of the success and failures, I just turn right back around and submit a cancellation request for each transaction that was declined. The request to cancel the subscription looks like this:3 Comments
Daniel Short wrote on 03/26/09 2:35 PM
Hope it points you in the right direction.Robin wrote on 09/26/12 1:47 PM
Thank you for your post. I'm sure I'm going to have to address these issues once I get the basic create subscription working. I'm unclear the best, simplest approach to setup recurring Authorizenet subscriptions with ColdFusion. I googled and found your post. Do you have an example of how this was setup using ColdFusion? I'm also unclear on how to parse the returned values. Thank You.
Joe Zack wrote on 03/26/09 11:28 AM
I've had some strange issues with SkipJack's Recurring Billing API as well, I'll have to check if something similar is going on!