- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I'm trying to integrate recurring payments with PayPal into one of my projects.
I found this code which seems to work correctly for what I need https://www.codexworld.com/paypal-subscriptions-payment-gateway-integration-php/
However, I don't understand how to manage PayPal notifications in these cases:
- managing of the renewal, i.e. whether the renewal payment was successful or not
- if a customer who has signed up for periodic payments cancels the subscription from the PayPal portal
I already save the activation, expiration date and others info at the time of the first payment (see https://ibb.co/2qyKncX)
What I don't understand is how PayPal sends the renewal notification (ipn).
From what I have read, but I don't understand much, PayPal sends a notification to the site via ipn every time the weekly/monthly fee is deducted from the customer's account based on the plan subscribed to. But I didn't understand where it sends it and how I can process the data to update the customer's subscription.
Thanks a lot
Daniele
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @daniele_gusmini,
Thank you for posting to the PayPal community.
Please get in touch with your website developer or the support of your third-party platform to refer to guide links to implement payment notification service.
https://developer.paypal.com/docs/api-basics/notifications
- If your website is built via NVP/SOAP API integration, please use the Instant Payment Notification(IPN) service to receive payment notifications.
Guide link - https://developer.paypal.com/docs/api-basics/notifications/ipn/
- If your website is built via REST API integration, please use Webhooks event notification to get the payment notifications.
Guide link - https://developer.paypal.com/docs/api-basics/notifications/webhooks/
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US. Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Vaishnavi
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @daniele_gusmini,
Thank you for posting to the PayPal community.
Please get in touch with your website developer or the support of your third-party platform to refer to guide links to implement payment notification service.
https://developer.paypal.com/docs/api-basics/notifications
- If your website is built via NVP/SOAP API integration, please use the Instant Payment Notification(IPN) service to receive payment notifications.
Guide link - https://developer.paypal.com/docs/api-basics/notifications/ipn/
- If your website is built via REST API integration, please use Webhooks event notification to get the payment notifications.
Guide link - https://developer.paypal.com/docs/api-basics/notifications/webhooks/
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US. Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Vaishnavi
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- How can I revoke SamCart's access my recurring payments? in NVP/SOAP APIs
- Recurring Payment issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Is there a current alternative for deprecated GetRecurringPaymentsProfileDetails? in REST APIs
- Recurring payment managed by merchant server async in REST APIs