Hello all,
I'd like to be able to create a product that is a monthly recurring subscription. The customer's credit card would be automatically billed the same amount each month until they cancel their subscription (or their credit card expires, etc).
I've seen this request come up before in the forums, but I didn't see any solutions. Has anyone come up with a good way to do this? Or is this under development anywhere? In my searches, I did come across a Google cache of a forum post referencing an Authorize.net recurring payment module. Does that still exist anywhere??
Thanks in advance for pointing me in the right direction!
Xerxes
Website subscription/recurring payment product type
Submitted by Lifeischoice on Wed, 06/27/2007 - 17:27
Lifeischoice
Posts: 41
Joined: 03/22/2007
Uber DonorBug Finder
I am creating this thread with the hope that someone will develop new or modify an existing module to round out one of the major functions of ubercart... In addition, I am listing the following module requirements so others can add other funtions as needed:
Able to create recurring subscription type products with price - $, expiration - select single, monthly, Bi-annual, annual payment options and other features/parameters.
Able to handle protected files for paid download.
Ability for members to maintain multiple subscriptions simultaneously (for different subscription products) with same username/password.
Provide automated account expiration while members still able to login and renew their subscriptions and also visit other free areas of the site.
Send E-mail notification (username/password) to the subscriber after payment
Send E-mail notification before or after subscription expires
Thanks in advance for taker(s)...
* Add new comment
permalinkWed, 07/04/2007 - 10:23
uberPaduan
Posts: 1
Joined: 07/03/2007
Getting busy with the Ubercode.
Hello World!
First off, let me express my utmost respect for the Ubercart developers. Ubercart absolutely rocks!
I've been hacking away at the Authorize.net payment gateway module the last few days and seem to have a working solution for the Automatic Recurring Billing (ARB) service that that gateway provides.
I emphasize that I am a mere uberPaduan and am nowhere near the skills and power of the UberDudes Jedi Masters. Laughing out loud
As such, I ask for guidance in making this code worthy of "live" and "general use" status. I suspect it's pretty messy and maybe lots of things aren't coded in the Drupal or Ubercart way. Let me know and I'll be glad to fix. I'm a spare-time coder so have patience.
This modified uc_authorizenet.module adds some fields to the settings form. Specifically to separate credentials for production and test accounts, and differentiate between transactions with test mode set to "on" and transactions going to the test site which most likely should have test mode set to "off". (I know, it can drive one crazy trying to figure it all out!)
To have a product treated as a subscription, you must assign it an attribute that has the word "Subscription" anywhere in its name. For example, I used an attribute named "Subscription Length (months)" that specifies the total months duration of the subscription. At checkout time, this attribute's selected value will thus set the number of months duration for the subscription. A.Net only allows days and months as units of time and I used months hard-coded because that's what I currently need (selfish, I know). Any transaction to be processed that has such an attribute will be directed to the ARB service with the transaction data formatted accordingly. PRoducts without such an attribute are treated as "normal" AIM one-time payments.
Once again, there's no pride in ownership here so feel free to let me know what should be different. Hey, that's what Open Source is all about, no?
Oh, I forgot to mention that you should backup your existing file and test this on a non-production site.
Attachment Size
uc_authorizenet.module.zip 3.42 KB
* reply
permalinkWed, 07/04/2007 - 17:14
Ryan
Posts: 1671
Joined: 09/26/2006
AdministratorCode Monkey Head - I eat bugs.
Awesome! Glad to have the help for sure. I'll try and check this out tomorrow, though my list of "try and check this out"s is growing larger and larger. Thanks for posting it back, and have yourself a badge. Eye-wink









Joined: 09/07/2007