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
3,770
Replies
8
Views
5,474
Replies
4
Views
3,552
Replies
5
Views
3,196
Newer threads
Latest threads
Replies
1
Views
110
WTS OOUM.com
Replies
0
Views
159
Replies
0
Views
135
Recommended threads
Replies
0
Views
2,940
Replies
5
Views
3,950
Replies
1
Views
3,043
Similar threads
Replies
0
Views
4,148
Replies
2
Views
3,766
Replies
2
Views
3,642
Top