#carlosbilangieri_api

1 messages ยท Page 1 of 1 (latest)

bleak raftBOT
#

๐Ÿ‘‹ 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.

lusty bronze
#

Hi! Tell me more.

frosty cypress
#

I have done this on test:

#

This on test

#

and received this:

#

========================

#

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

lusty bronze
#

Can you find the Request IDs for those to GET requests in the Dashboard for me?

frosty cypress
#

Do you mean for boths? Do you want the Payment Intent IDs?

lusty bronze
frosty cypress
#

I don't have access to the dashboard....

#

Sorry

#

The Payment Intent ID's:

Test: pi_3RBcsyHcJEFI81TO06As8Yu4
Live: pi_3R90KtLmgNVPSq5N1rWNz7Am

lusty bronze
#

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.

frosty cypress
#

Oh...

lusty bronze
#

(as a lot has changed in almost 8 years :))

frosty cypress
#

Yes, but why test is not returning the updated version

#

?

bleak raftBOT
frosty cypress
#

Can I update my test version?

lusty bronze
#

You're explicitly asking for that API version.

#

Your postman requests are setting the API version.

frosty cypress
#

I have not set any parameter

#

and i am doing both requests with postman...

lusty bronze
#

You should not be testing in Livemode, as that's a violation of Stripe's Terms of Service.

frosty cypress
#

I am not using testing in livemode...

#

I am using test using TEST

lusty bronze
#

You created a Payment Intent in live mode, right?

frosty cypress
#

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

frosty cypress
#

than you said, because they are running different versions...

lusty bronze
#

Gotta run, my colleague can help you though. Cheers!

frosty cypress
#

My question is... how can I update my test account to receive the same response from live

bleak raftBOT
frosty cypress
#

?

modest kelp
#

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

#

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)

frosty cypress
#

Ahhh make sense..

#

It's working now

modest kelp
#

good to hear!

frosty cypress
#

Thanks

#

๐Ÿคœ ๐Ÿค›