#Ninja man
1 messages · Page 1 of 1 (latest)
hi there
Yes you get the metadata in the webhook response, if ones are set
Perfect!
Is it in the webhook i recieve the customer too?
I talk about this one: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Yes, if you are listening to the event checkout.session.completed, you'll get all the Checkout Object attributs
https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
Here is the complete list of attributs:
https://stripe.com/docs/api/events/types#checkout_session_object
Great!
One more question, do you know if it's possible to use Next JS api routes for the webhook endpoint? Rather than setting up a whole new express server.
You can give it a try 🙂
yeah hopefully it works