stripe / stripe-ruby

Ruby library for the Stripe API.

Home Page:https://stripe.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

7.0.0 Event Type Callback Clarification?

OskarEichler opened this issue · comments

Describe the bug

In the 7.0.0 changelog it is noted that:

⚠️ Deprecate delete method on Subscription resource. Please use cancel method instead.

Is the event type hook that is coming back still called 'customer.subscription.deleted' or has that been updated to 'customer.subscription.cancelled' as well?

Please let us know!

To Reproduce

See question above

Expected behavior

See question above

Code snippets

No response

OS

macOS

Language version

Ruby 3.1.1

Library version

stripe-ruby 7.0.0

API version

2022-08-01

Additional context

No response

Nothing changed with the Event itself, just the API method in the library is changing!