ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

RangeError using DEFAULT_API_VERSION error retrieving ephemeral key #146

Closed justoke closed 2 years ago

justoke commented 3 years ago

According to my Stripe dashboard the API version is 2020-08-27, whereas the DEFAULT_API_VERSION is 2020-03-02. I get the following error on startup using the example Flutter app. Is there a way to specify the API version as part of the initialization?

image

ezet commented 2 years ago

It's possible to specify API version if you manually instantiate the API client.