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,581
Replies
8
Views
3,374
Replies
4
Views
2,488
Replies
5
Views
2,187
Newer threads
Latest threads
Replies
1
Views
77
Replies
1
Views
174
Replies
4
Views
381
Replies
11
Views
523
Replies
2
Views
228
Recommended threads
Replies
3
Views
4,301
Replies
2
Views
3,448
Replies
10
Views
3,823
Similar threads
Replies
0
Views
1,616
Replies
2
Views
2,449
Replies
2
Views
2,340

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