anniel-stripe edited this page
Nov 22, 2022·
2 revisions Changes in v5.0.0 - 2022-11-15" ⚠️ " symbol highlights breaking changes.
UnsupportedGrantTypError
->UnsupportedGrantTypeError
and UnsupportedResponseTypError
->UnsupportedResponseTypeError
.save
method on resources (#887). Use modify
instead.
# Before customer = stripe.Customer.retrieve("cus_123") customer.email = "example@test.com" customer.save() # After stripe.Customer.modify("cus_123", email="example@test.com")If you were using
save
to unset a parameter by assigning it None
, when switching to modify
please assign the parameter to an empty string ""
to preserve the previous behavior.
# before customer = stripe.Customer.retrieve("cus_123") customer.description = None customer.save() # after stripe.Customer.modify("cus_123", description = "")
Orders
resource.SKU
resource.Read more at https://stripe.com/docs/upgrades#2022-11-15
Toggle table of contents Pages 9 Clone this wiki locallyYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4