#carlosbilangieri_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1359212280092430557
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- carlosbilangieri_api, 6 hours ago, 5 messages
Hi! Tell me more.
I have done this on test:
This on test
and received this:
========================
Then I have done this on Live:
GET https://api.stripe.com/v1/payment_intents/pi_3R90KtLmgNVPSq5N1rWNz7Am
and received this:
{
"id": "pi_3R90KtLmgNVPSq5N1rWNz7Am",
"object": "payment_intent",
"amount": 13080,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 13080,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3R90KtLmgNVPSq5N1rWNz7Am_secret_wRrc8MgP9EqxOWZacPCVxm8Db",
"confirmation_method": "automatic",
"created": 1743496699,
"currency": "gbp",
"customer": "cus_S0WSqv9nObHdoX",
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3R90KtLmgNVPSq5N1qgA2egb",
"livemode": true,
"metadata": {
"StripePaymentID": "RI2541938190000RF07U"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1R6VRYLmgNVPSq5NBkC47SkA",
"payment_method_configuration_details": null,
"payment_method_options": {
"bacs_debit": {}
},
"payment_method_types": [
"bacs_debit"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
as you can see the Objects are differents....
but the same BACS_DEBIT
Can you find the Request IDs for those to GET requests in the Dashboard for me?
Do you mean for boths? Do you want the Payment Intent IDs?
I don't have access to the dashboard....
Sorry
The Payment Intent ID's:
Test: pi_3RBcsyHcJEFI81TO06As8Yu4
Live: pi_3R90KtLmgNVPSq5N1rWNz7Am
Those are in different Stripe Accounts, with vastly different API versions (test using 2017-02-14, live using
2025-01-27.acacia).
So the objects those calls will return will be quite different.
Oh...
(as a lot has changed in almost 8 years :))
Can I update my test version?
You're explicitly asking for that API version.
Your postman requests are setting the API version.
You should not be testing in Livemode, as that's a violation of Stripe's Terms of Service.
You created a Payment Intent in live mode, right?
I have created a payment in live mode because it's a live account, and the customer has paid...
I am just wondering why the response from my test account is different from the one in live
This is why.
than you said, because they are running different versions...
Gotta run, my colleague can help you though. Cheers!
My question is... how can I update my test account to receive the same response from live
?
fyi i'm taking over for my colleague here - but yeah, i'm going to reiterate that your requests in postman are specifying the API versions in the request headers
this docs page shows you how you can specify the API version on a per-request basis
https://docs.stripe.com/api/versioning
so you should look at your headers and find the Stripe-Version header and either make them the same across both requests, or remove it (which will let the requests run on your account default API version)
good to hear!