#zqqq-checkout
1 messages · Page 1 of 1 (latest)
Hi, you would get all the information about Checkout via webhook, in the checkout.session.completed event as mentioned in our Doc
Thank you for reply. I found all information I need except order information (product id, purchase quantity and amount) in the checkout.session.completed. I guess maybe the order information stores in the line_items attribute? Or stores in the payment_intent attribute?
Yes it's inside line_items. 1 min
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
data.price, inside you will have product
After receiving the event, you can call a Retrieve Session API https://stripe.com/docs/api/checkout/sessions/retrieve, expanding until you get the product and price.