Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade stripe lib to v8 #61

Open
sirodoht opened this issue Mar 30, 2024 · 1 comment
Open

Upgrade stripe lib to v8 #61

sirodoht opened this issue Mar 30, 2024 · 1 comment
Labels
dependencies Pull requests that update a dependency file good first issue Good for newcomers

Comments

@sirodoht
Copy link
Member

sirodoht commented Mar 30, 2024

Stripe have published some new releases with breaking changes:

https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#800---2024-01-25

This release introduces StripeClient and a service-based call pattern. This new interface allows you to easily call Stripe APIs and has several benefits over the existing resource-based pattern:

  • No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
  • No static methods for easier mocking

Migration guide: https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v8-(StripeClient)

@sirodoht sirodoht added good first issue Good for newcomers dependencies Pull requests that update a dependency file labels Mar 30, 2024
@ItsWuotan
Copy link

Im a moron. But if the update will make it possible to have a custom amount field that would be nice. For those able to pay more and want to support, that is an option. Not that i am rich but could throw in a few more bucks when it renew in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file good first issue Good for newcomers
Development

No branches or pull requests

2 participants