#The Digital

1 messages · Page 1 of 1 (latest)

pure solarBOT
eager root
#

hi

knotty current
eager root
#

i mean my integration just prompts user with subscription-checkout method and that's basically it

knotty current
#

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

eager root
#

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?

knotty current
#

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

Learn how to display a confirmation page with your customer's order information.

eager root
#

thank u

knotty current
#

No problem

eager root
# knotty current 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

knotty current
#

Did you read the article I sent?

eager root
#

i did

#

quite many events

knotty current
#

For canceled subs: customer.subscription.deleted

eager root
#

do they get auto canceled when payment fails?

knotty current
#

For failed payment: invoice.payment_failed

knotty current
eager root
#

nice ty