#brianterraenergy

1 messages · Page 1 of 1 (latest)

astral zephyrBOT
low gyro
#

Can you share the checkout session id where payment_intent is null?

median fossil
#

Sure: cs_test_a1tSsFI9kuHkBsM3F0mmZtfR8ZnaHBunICjUDYRsAvjC8lzmqagoZJntgC

#

That was a checkout session created with the sandbox.

low gyro
#

Got it. Can you share the us session id too?

#

Also, just curious, why are you relying on the PI id?

median fossil
#

Hmm I don't have the session id on hand, this checkout session was created yesterday.

#

And the session id doesn't get returned in the response of the checkout session creation

median fossil
#

Ahh the US session id haha, here it is: cs_test_a1twc2hWD4eFQjalTxxORXnTHhnHDdpby2aaDtvBpj0ElOsokwDWeYKX2J

low gyro
#

So the us checkout session also shouldn't have the payment intent rendered at first

#

Shouldn't show until customer completes payment

#

Oh that one never had payment completed either

#

Looking

median fossil
#

In the US checkout sessions we create, we do get a payment_intent id by default

median fossil
low gyro
#

Ah I think it's because you made the Mexico request on api version
2023-10-16

#

And the US one on
2020-03-02

#

Behavior changed across api versions

median fossil
#

Ahh ok, is the api version handled directly in the account?

#

We are using the same SDK for both countries.

low gyro
#

Yeah the account default api versions are different

#

So I would recommend upgrading the older one so the two match

#

That way you get consistent behavior

median fossil
#

Perfect, thank you for your help! To update the api version can I do this directly in the developer dashboard or do I need to request this from Stripe sales rep?

low gyro
#

You can do it yourself