#jespr

1 messages · Page 1 of 1 (latest)

daring abyssBOT
gilded flame
#

Hi! Let me help you with this.

#

You don't specify the Stripe API version on the client SDKs like Stripe.js or iOS. It depends on what version you specified on the backend. If you created a PaymentIntent with a version "A", the frontend calls to confirm the PI will also use version "A".

#

Some SDK versions might not be compatible with some API versions though.

#

Is this the case for you?

latent zealot
#

I'm not sure actually. I'm trying to set the preferred_locale field for a klarna payment, but am getting an error. On the dashboard it looks like the API version used is 2020-08-27 (which matches the version specified in the SDK source code). I've been made to understand this field was added in 2021. Our server is using an even older version of the API than that.

gilded flame
#

Try to use a newer version in the backend.

latent zealot
#

We can probably update the API version our server uses without too many problems. If we set the API version to 2022-11-15, would that be compatible with the iOS SDK?

gilded flame
#

It depends on the iOS SDK version

latent zealot
#

Currently 23.5.1, but I can upgrade if that's an issue.

gilded flame
latent zealot
#

Good idea, thank you! We'll try that.

gilded flame
#

Happy to help. Please, let me know if you have any other questions.

latent zealot
#

Will do, thanks! thankyou