#User 1
1 messages · Page 1 of 1 (latest)
hello! You would want to listen for the checkout.session.completed event [0] or retrieve the Checkout Session object [1] to see the custom values the user inputs during Checkout
See these references for more details about webhooks :
You can take a look at this document for Subscription related webhooks :
https://stripe.com/docs/billing/subscriptions/webhooks
[0] https://site-admin.stripe.com/docs/api/events/types#event_types-checkout.session.completed
[1] https://stripe.com/docs/api/checkout/sessions/retrieve
Are there equivalents of those links specifically for the stripe js package?
the webhooks quickstart provides you with an example using node
it uses our stripe-node sdk : https://github.com/stripe/stripe-node
Awesome, thanks
Wait, so with this webhook stuff, you essentially need to create a local API to communicate with the rest of stripe, am I correct in understanding that?
what do you mean by local API?
The code I'm looking at in the documentation appears to want to create an express app. My code is all backend with nothing frontend so I shouldn't need to do that. Is there documentation surrounding not needing to do that part while still having everything work as expected?
express is used to manage your server routes - https://expressjs.com/en/guide/routing.html
But that's the thing, I don't need that.