#jespr
1 messages · Page 1 of 1 (latest)
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?
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.
Try to use a newer version in the backend.
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?
It depends on the iOS SDK version
Some changes are breaking: https://stripe.com/docs/upgrades
Currently 23.5.1, but I can upgrade if that's an issue.
You can try with a few individual requests: https://stripe.com/docs/api/versioning
Good idea, thank you! We'll try that.
Happy to help. Please, let me know if you have any other questions.
Will do, thanks! 