#aliRT
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Are you using Automatic Tax?
Could you please provide an example event? evt_xxx
evt_3Mw0C2C5nS7MIewM129GJXiy
like i want to get the checkout summary. is it possible?
You can listen to checkout.session.completed instead: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
The event you provided is payment_intent.created
ok let me give you another one
evt_1Mw0qrC5nS7MIewMPPiWL2UL
see this . tax rate and even lineItem ar not available in this event . how can i get checkout summary now
?
You need to expand the list_items to get the full info: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items
okay i did it. but what about tax rate ?
basically i need the tax amount or the checkout summary that create on checkout
i just information . how can i access that
?
The tax information is stored in the line_items list on the object (for example: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-amount_tax). You need to make an API request in your webhook handler to make that API call to retrieve the data
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Taking a look