#josephmaxim
1 messages ยท Page 1 of 1 (latest)
Webhook events are also triggered in test mode
So i get evt_1O9iHzFrA9OQgg2IWosrSAe6 right after i subscribe to a plan
test mode triggers customer.subscription.updated after customer.subscription.created where as on production it skips doesn't trigger customer.subscription.updated
Did you make a request in live mode?
yes i tried.
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_e30soa39cRn1pJ
that is for the live mode
this is for dev mode (req_tYM6YWjRhA2rZo)
https://dashboard.stripe.com/events/evt_1O9i87FrA9OQgg2IvdLJFKuC here's the event, and it was sent successfully to your webhook endpoint.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes thats when i manually change the plan from monthly to yearly
but when user subscribes to a plan live mode skips customer.subscription.updated
this is my dev mode logs
Can you share with me the ID of the request that you expect to trigger a customer.subscription.updated ?
Once the checkout session is completed, you'll receive a checkout.session.completed and customer.subscription.created event (like this one https://dashboard.stripe.com/events/evt_1O9ilKFrA9OQgg2I5yXxRhjj)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Can you tell me what you want to achieve with webhook events?
so basiccally when a user subscribes to a plan i want to update the db with their subscription status
Ok, when you should listen to customer.subscription.created
what about when a users payment failed on renewal.. let say card declined. which event do i listen to update my DB?
thanks ๐๐ผ
does customer.subscription.updated gets triggered when new invoice is paid every month?
You mean when it renews? yes