Subscription IPN/webhooks

davidelucchelli
Contributor
Contributor

Hi,

I have just integrated subscriptions in my website using REST API and Express checkout. 

Now, to track monthly payments, which service have I to use? Webhooks or IPN?

 

In case of webhook, which events do I need to track? 

Using the webhooks simulator I tried  "Payment sale completed" but I get an empty call to my server (with others events I can see the content). Have I to activate something?

 

Thanks a lot,

Davide

Login to Me Too
1 REPLY 1

MTS_Ciaran
Moderator
Moderator

That's correct, its the PAYMENT.SALE.COMPLETED webhook. You can checkout the integration steps here:

https://developer.paypal.com/docs/integration/direct/webhooks/rest-webhooks/

 

These need to be enabled on your app via the app dashboard in developer.paypal.com. But the webhook simulator shouldn't need this as you're just testing your webhook handler not a specific client ID. 

 

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.