Webhook not working in sandbox mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In sandbox mode I do not receive some webhooks. In particular I need to test subscription API, but BILLING.SUBSCRIPTION.ACTIVATED and PAYMENT.SALE.COMPLETED are not called. The second one, is not called nor when I activate and pay a subscription nor when I do a regular payment, instead regular payments webhook works in live mode (I cannot test yet subscription in live, but I think that it will work).
Can someone tell me why webhooks are not called in sandbox mode?
I can see some events in the dashboard under 'Sandbox emails and SMS notifications' section (subscription activation and first payment)
- Labels:
-
API
-
Recurring Payments
-
REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, no solutions? Please do not ignore, it's unthinkable that PayPal could have this kind of bugs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, I've given up trying to implement webhooks. I've wasted 2 days on it now. If I can't receive valid webhooks in testing, I can't write the code to handle all the scenarios. I upgraded my server to a new LTS in order to set up ngrok and everything, only to find that valid webhooks don't get sent for the sandbox. Unfortunately I can't waste any more time on this. Bailing.
I'm sure it's great though. Docs look really good, but probably missing something. I've got things to do though and I don't like waiting around.
Going back to simple IPN POST data verification and handling, which I've used at work for years. Way simpler and is well grooved in.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- webhook deregistration in REST APIs
- PayPal Standard Checkout Integration in PHP (500 error) in Sandbox Environment
- How to retrieve merchant integration status through the API? in REST APIs
- PAYMENT.SALE.COMPLETED signature verification failed in sandbox mode in REST APIs