-
Notifications
You must be signed in to change notification settings - Fork 475
Migration guide for v5
anniel-stripe edited this page Nov 17, 2022
·
2 revisions
"
- Dropped support for Python version 3.4 and 3.5). We now support Python 2.7 or 3.6+.
- Fixed mistyped names for two OAuth exceptions:
UnsupportedGrantTypError->UnsupportedGrantTypeErrorandUnsupportedResponseTypError->UnsupportedResponseTypeError.
- Deprecate
savemethod on resources (#887). Usemodifyinstead.# Before customer = stripe.Customer.retrieve("cus_123") customer.email = "[email protected]" customer.save() # After stripe.Customer.modify("cus_123", email="[email protected]")
- Removed
Ordersresource. - Removed
SKUresource.
Read more at https://stripe.com/docs/upgrades#2022-11-15