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,800
Replies
8
Views
3,645
Replies
4
Views
2,669
Replies
5
Views
2,397
Newer threads
Recommended threads
Replies
0
Views
3,650
Replies
5
Views
3,551
Replies
4
Views
8,861
Similar threads
Replies
0
Views
2,636
Replies
2
Views
2,875
Replies
2
Views
2,932

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