#The Digital
1 messages · Page 1 of 1 (latest)
hi
Hi. Depends on your integration. Recommend reading: https://stripe.com/docs/billing/subscriptions/webhooks. That provides a more comprehensive guide and list
i mean my integration just prompts user with subscription-checkout method and that's basically it
Yeah but which events you listen to is up to you and what data you want your application to know about
That's why I shared the guide. it'll help you decide what you need/want
kk, also what's difference between success url or fail and between webhook, i've read somewhere that it's possible to redirect users to custom stripe page when done with payment if we dont have own? and any way to get that session id over to webhooks for subs?
Success url is a url on your website where the customer will be directed after payment: https://stripe.com/docs/payments/checkout/custom-success-page. If you want the checkout session id listen to this event: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
thank u
No problem
which one would be when subscription is canceled or failed to change? there are quite many for such state, not sure which to listen
Did you read the article I sent?
For canceled subs: customer.subscription.deleted
do they get auto canceled when payment fails?
For failed payment: invoice.payment_failed
That depends on your billing settings
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
nice ty