Skip to content

Migration guide for v6

Richard Marmorstein edited this page Nov 18, 2022 · 5 revisions

⚠️ Changed

  • Dropped support for Python version 3.4 and 3.5 (#881). We now support Python 2.7 or 3.6+.
  • Fixed mistyped names for two OAuth exceptions: UnsupportedGrantTypError->UnsupportedGrantTypeError and UnsupportedResponseTypError->UnsupportedResponseTypeError (#872).

Deprecated

  • Deprecate 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")

⚠️ Removed

  • Removed Orders resource (#882).
  • Removed SKU resource (#883).
Clone this wiki locally