#ricardo0002
1 messages · Page 1 of 1 (latest)
I need the promotion code id that was used in the checkout
When did you make this Java call? Was it before or after the checkout session completed?
Can you share the request ID (req_xxx) which you made for Java and curl respectively? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I can't find it
Have you checked the GET payment method in your search?
I see
I have to clear all first
from java: req_LFVVAl2sSroAws
from curl: req_WIHJuyui4MiDlY
let me see
Can you also share the response from curl as Stripe doesn't store GET response?
you mean the code or response body?
response body
Hi @polar knot I'm taking over this thread
nice
I just send the response from the java and curl
the java one is missing some info from breakdown
Are you talking about the total_details.breakdown (https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-total_details-breakdown) ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes
I need the promotion code used in the checkout session
this is information are show when I use the curl, but is missing when I use stripe java
Can you use a more recent SDK and try again ? https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md#22300---2023-08-03
let me try
same result
I also tried with 23.8.0 and 23.9.0-beta.1 (latest)
same result
This is going to require a bit more investigation. Sorry to redirect you, but can you write in to https://support.stripe.com/contact/email with the information that you provided. We'll respond via email/ticket after looking into it further.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ok