Paypal + Recurring Payments...

Posts: 27
Joined: 10/26/2007

Anyone have a working version of recurring payments with Paypal?

--

===
Elvis McNeely
Blogging about Drupal: http://www.elvisblogs.org/drupal

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Nein... work on the recurring module has been lagging simply b/c of so much other stuff to get done. Gonna try and make a last push on it soon, but I may end up postponing it. I just need to remember where I was in it... Sticking out tongue

Posts: 27
Joined: 10/26/2007

Hey Ryan,

Thanks for the reply. I would be interested in hearing your game plan for this functionality. I am not sure if you are familiar with linkpoint/authorizeNet - but an ubercart recurring payment api that can communicate with those gateways and paypal would be great. Thanks for your dedication to this project!

--

===
Elvis McNeely
Blogging about Drupal: http://www.elvisblogs.org/drupal

Posts: 1139
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Ryan, I'd like to help out with this too. It's something we'll need completed in the next couple months.

I think maybe a generic recurring payments module "Recurring Payments" and then maybe some extensibility - in other words a "Recurring Payments - Paypal" and "Recurring Payments - Credit card/ A.net" that way people can turn on / off different options.

The main thing is that the Recurring Payments should be generic enough that a person can use any payment method that's on a site, but I think it's probably easier to create an API which then developers can contribute modules for other payment methods (or simply add a new hook to an existing payment method module such as Payflow, PayPal WPS, etc).

If you need any help let me know, we're using primarily PayPal and Authorize also.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

That's exactly what I've got going on with a default handler to attempt to process CCs from locally stored numbers. The bulk of the module is a product feature that lets you add recurring fees to products. At checkout, it will scan the products and then can attempt to process the recurring fees. Modules can simply implement their own hook so store owners can choose to use that module for processing the fees. This means modules that are already in progress should very simply interface with it. It may need some work to integrate better with the roles module, though.

Development is being sponsored by jhuckabee, and if he's not opposed I can post up the WIP version that I e-mailed him a while back.

I hope to polish it off during the beta bugfix phase.

Posts: 1139
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.


It may need some work to integrate better with the roles module, though

Would be glad to help test in this department. Let me know if you do post a WIP version and I'd be glad to give it a run!

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 79
Joined: 12/28/2007
Bug FinderGetting busy with the Ubercode.

That's exactly what I've got going on with a default handler to attempt to process CCs from locally stored numbers....Modules can simply implement their own hook so store owners can choose to use that module for processing the fees.

Hi Ryan,

This sounds great. I just posted the Authorize.net CIM module in contributions (
http://www.ubercart.org/contrib/2537). If a store owner is using that module, instead of processing the fees with a locally stored number they would use the numbers stored on the Authorize.net servers. Once you have that hook defined, let me know and I will integrate it into the Authorize.net CIM module.

Thanks,
Chad

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Will do, Chad. Your contribution looks great, by the way!

Posts: 37
Joined: 02/02/2008

I believe this is what you are looking for:

http://www.ubercart.org/contrib/1461

I am a new user and have just dumped Joomla, because Drupal seems much better and this Ubercart module seems fantastic Smiling

I am too building a recurring membership / subscription site where users can choose between 3 types of packages, a monthly, a 6 monthly, and a yearly recurring fee until cancellation.

For the admins:

I saw this warning when posting a reply

* warning: array_keys() [function.array-keys]: The first argument should be an array in ............./modules/user/user.module on line 378.
* warning: array_fill() [function.array-fill]: Number of elements must be positive in ......./modules/user/user.module on line 379.
* warning: implode() [function.implode]: Bad arguments. in /var/www/vhosts/www.ubercart.org/modules/user/user.module on line 379.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in ............org/includes/database.mysql.inc on line 172.

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Thanks, Giorgio, and welcome aboard. Those warnings are problems in Drupal core that may get fixed eventually. Sticking out tongue

Posts: 5
Joined: 02/28/2008

I also need recurring payments in ubercart. Payflow Pro Full Integration (Including recurring profiles) as mentoined above sounds great. Is it an idea and possible to isolate recurring payments from payflow pro so that is is possible to use it with other payment methods as well? Also, it would be great to have it working on php 4.

Hanno

Posts: 46
Joined: 10/02/2007
Bug FinderGetting busy with the Ubercode.

I just released a module for generating PayPal buttons, which includes support for PayPal WPS subscriptions/recurring payments:
http://www.ubercart.org/contrib/4218