#riderfx3
1 messages · Page 1 of 1 (latest)
Hi
customer.subscription.deleted is triggered only when the Subscription is deleted. However a Subscription isn't directly deleted if a payment was failed. Instead there'll be an invoice.payment_failed event triggered first.
Hi
My problem is when clients don't pay, I didn't receive the notification in my webhook
Can you share a Subscription Id ?
But in Stripe, the subscription don't exist anymore
Wait a minute
For example : sub_1MOPvaDY4NUh1pUiX3BStbqZ
This one was automatically canceled but we did'nt receive the notification in the Webhooks
OK I can now see in the stack trace there is a PHP error in my webhook
Uncaught Stripe\Exception\InvalidArgumentException: The resource ID cannot be null or whitespace
Ok I found the error now I can debug. Thanks.
👍
Can you confirm one thing
What's up?
My webhook receive this object right ?
And not the complete event above this line
Correct
Thks