Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal subscription upgrade

My company is providing service, which has few subscription plans with different monthly fee. Everything is working via PayPal recurring payments.

I want to implement upgrade system, so clients could switch to more expensive plan.

For now I found two solutions:

  1. Modify current subscription and ask for payment to cover difference in plans to the end of the month (modified subscription will work only from the next month). So basically I need to give my client two different forms to submit to PayPal, which is very bad.

  2. Also I could cancel current recurring payment and ask client to subscribe for new. Cancel is possible in the background without any user interaction, he only need to submit new form for new payment.

I like second method more, but it still not very clear for users and I'm looking for better solution.

like image 646
Alexander Allakhverdiyev Avatar asked Apr 26 '11 09:04

Alexander Allakhverdiyev


1 Answers

Sounds like option 2 would be the only viable one.

For upgrading have your script put them on a new subscription, then on your script that processes the PayPal reply, have it check to see if the user already has a subscription, if they do, then create a paypal request to cancel the old subscription.

like image 159
wyqydsyq Avatar answered Sep 28 '22 09:09

wyqydsyq