#vktr0440

1 messages · Page 1 of 1 (latest)

zinc cosmosBOT
reef knoll
gray obsidian
#

Hi
Yes this was a change on Checkout Session

#

the PaymentIntent will be created after the customer complete the Checkout Session

reef knoll
#

@gray obsidian and why one checkout session has payment_intent and another one not?

gray obsidian
#

That means you are using different Stripe API version

#

make sure you are using the last API version

reef knoll
#

Only difference is in test api key provided

gray obsidian
#

So probably each test API key belongs to a different Stripe Account and so a different API version

reef knoll
#

Okay, how i can change the dev api version in account?

gray obsidian
#

You can migrate to the latest version from your dashboard

#

From Workbench

reef knoll
#

Please, can you navigate me how to migrate?

gray obsidian
#

Do you have Stripe Workbench ?

#

Can you share a sreenshot of your dashboard ?

reef knoll
gray obsidian
#

Goog so for this Account you are already at the latest API key

#

So when you create a Checkout Session with this key, you won't have PaymentIntent

#

unless you complete it

reef knoll
#

Thanks, and in which version was this changed? I only have these two versions

#

Like on screen

gray obsidian
#

I'm not understanding your ask? the label default means that's will be your default API version used when calling Stripe API

reef knoll
#

Thank you so much for you help. One more question. Is there a way how to get the api version from checkout session?

gray obsidian
#

You can have this from the requestId that created that Checkout

reef knoll
#

Thank you.