#Tazl1l-subs
1 messages · Page 1 of 1 (latest)
i don't know i use https://github.com/stripe-samples/checkout-single-subscription
That sample does have webhooks set up
I'd recommend giving a read through https://stripe.com/docs/billing/subscriptions/webhooks
This will inform you on what events you want to listen for. Specifically for the change in a Subscription status you want customer.subscription.updated
Sure thing!
So if I understand correctly, the webhooks send information to a page of our application (php for me) according to events.
For me the event is : payment failed.
In my php file of my application, I have to add the modification of my database when I receive the webhook.
Is it correct ?
Yep exactly
Sure!
Fast and efficient
Good continuation and see you soon