#ivans1310
1 messages · Page 1 of 1 (latest)
Hello ivans1310, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• ivans1310, 23 hours ago, 9 messages
Are you looking at a Checkout Session that has been completed by the end-user?
Yes , in the cs callback I am retrieving the cs object with the sessionId
Right but you said the callback. Checkout Sessions are created, then sometime after they're created, an end-user accesses them to input a coupon correct? Or are you adding the coupon into the Checkout Session upon creation?
Yeah the coupon code is added upon creation
Maybe could I get info about the code checking the discount info of the customer? using the customerId that comes in the cs object?
Do you have a Request ID for the request that created a Checkout Session with a coupon/discount?
In case this solves your question, there's an attribute here that might be of interest: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-total_details-breakdown-discounts-discount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.