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,874
Replies
8
Views
3,725
Replies
4
Views
2,738
Replies
5
Views
2,454
Newer threads
Latest threads
Replies
1
Views
36
Replies
0
Views
45
Replies
0
Views
41
Replies
1
Views
56
Replies
3
Views
126
Recommended threads
Replies
18
Views
9,676
Replies
7
Views
6,268
Replies
4
Views
3,457
Replies
1
Views
4,031
jyy
Replies
20
Views
8,291
Similar threads
Replies
0
Views
2,949
Replies
2
Views
2,940
Replies
2
Views
3,009

Latest postsNew threads

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