New to the community? Welcome! Please read our Community Rules and Guidelines
TLDR; We are not getting webhooks for failed subscription payments and subscription suspending for LIVE env.
I have integrated REST API with webhooks for '/v1/billing/subscriptions' endpoints and I'm testing them one live environment. For now, I'm catching all webhooks and some of them work. We can successfully receive the following webhooks:
Problem is with unsuccessful payments, we are waiting for these webhooks, but are receiving none:
How I am testing this scenario:
1 ) A client pays for a subscription
2 ) We create billing plans, products, agreements, and all that good stuff.
3 ) The first payment is successful and subscription is started
4 ) Client removes payment card from his account
5 ) Recurring payment fails (client has no card)
6 ) PayPal tries to charge the client multiple times
7 ) PayPal suspends clients subscription
8 ) We receive all webhooks for plan creation and successful payment, but we don't receive any webhooks for failed payments and suspended subscription.
1) I created PayPal Support ticked, no response so far
2) I have enabled webhooks for Live and Sandbox environments
3) We are testing with real users and real money
4) We have tested multiple cases, different codes, and endpoints, so far no luck
5) We use Laravel and PayPal REST API
Are we using webhooks wrong? Is this a known bug? How can we resolve this?
I hope we can resolve this and if I can help with additional information, feel free to ask.
I am having/facing same issues, regarding a missing payment for a subscription,
Have you got answers of those questions?
Please help me,
No there is no fix for this issue so far. As I mentioned in the ticket, we do not receive WH events for failed subscription payment and suspended subscriptions. PayPal support isn't super helpful either. The best solution that we implemented so far, is to use IPN. We are receiving half of the events from WH and missing half from IPN, this is a super trashy solution because we have to support both systems at the same time. At least it works for now, but we are still waiting for a decent solution.
There are always some issues with Paypal,
They guys should make things complete, It is very bad that we need to depend on Webhooks and IPN both, 😭