Managing subscriptions and recurring payments with Paypal in my codeigniter app

tbobker

New member
Joined
Aug 12, 2016
Messages
4
Points
1
I am building a subscription based web app using codeigniter and have setup my paypal subscribe button which is working fine, but how will my application know if the user has cancelled their subscription?

Will my app be notified using the specified IPN url in the button?
 

Mike001

New member
Joined
Apr 27, 2016
Messages
578
Points
0
It depends how well you have written your app. I have not written a subscription application in a while, I use to have a couple of customers that had subscription services available for support, but we have moved them to a different business model.

The last time I was working on these when the user cancels the subscription the API sends back a cancellation request to the website. You will need to grab that request and update your user database that the user is no longer active. When I was testing these, and again it was a couple of years ago the last one that I did, I was surprised at how quick the API from PayPal sent out the cancellation request.

It was being processed and submitted back to the site in less than a couple of seconds. When you think of all the different hooks that are being detached with a subscription cancellation, I was impressed.

So to answer your question, your code in the application will be responsible for processing the cancellation request from the API and updating your user database. It only makes sense since you would not want anyone else having access to your member / customer database.
 
Older threads
Replies
7
Views
2,856
Replies
8
Views
3,703
Replies
4
Views
2,725
Replies
5
Views
2,433
Newer threads
Latest threads
Replies
0
Views
591
Replies
2
Views
791
Recommended threads
Similar threads
Replies
0
Views
2,881
Replies
2
Views
2,921
Replies
2
Views
2,984

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top