I am looking to extend the Devise user/sign_up path to include subscription payment. My aim is to have a user create their account only after payment has been processed.
For the authentication I am using Devise, for payment I am using AM and Paypal API. The closest thing I have found is: http://rorramblings.blogspot.com/2010/10/customizing-devise-to-pseudo-multi.html yet it seems to be missing quite a bit of the details. A push in the right direction will help!
As far as recurring Paypal Payments, I have found the following: http://www.naivehack.com/2010/11/24/active-merchant-paypal-recurring-payment/ [http://www.parkerkohl.com/paypal-rails-3-recurring-billing/]... hope this helps
Well after the user pays on paypal, paypal sends the user to the return url back on your site. Have the return url point to a page where the user can sign up.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.