webhook or IPN

makasmi
Contributor
Contributor

I want to receive a notification after an automatic payment (recurring payment). Does webhooks only work for payments via the REST API? can I use the IPN for recurring payments

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @makasmi,

 

Thank you for your post and welcome to the Community Forum.

 

Yes, Webhooks event notification will be triggered for payments processed via REST API integration. 

 

Webhook event names : https://developer.paypal.com/api/rest/webhooks/event-names/

 

Subscriptions Webhook event : https://developer.paypal.com/api/rest/webhooks/event-names/#subscriptions

 

 

You can integrate Instant Payment Notification(IPN) service to get notified for all type of payments processed via NVP API integration.

 

If your website is built via NVP/SOAP API integration, please use the Instant Payment Notification(IPN) service to get the payment notifications.

 

Guide link - https://developer.paypal.com/api/nvp-soap/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/api/rest/webhooks/ 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.