Simple paypal subscription webhook example with java

black-window
Contributor
Contributor

Is it possible that someone of you can make this example: https://github.com/paypal/PayPal-Java-SDK/blob/master/rest-api-sample/src/main/java/com/paypal/api/s...

work with webhooks?

I have created a webhook (The event that is configured for my webhook is: Billing subscription activated) and used the webhook mock to test the webhook. My backend receives the event and can process it.

 

But if i use the example code above to make a subscription, i never receive the webhook event on my server.

Do i need to add the webhookId somewhere? Also confusing the return url and notification url. What is the difference and do i need to set them to get the subscription activated event?

Thank you friends.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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