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

updating Subscription::cancel() #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

updating Subscription::cancel() #140

wants to merge 1 commit into from

Conversation

hah
Copy link

@hah hah commented Aug 8, 2020

as per https://stripe.com/docs/upgrades#2018-08-23:

  • You can no longer set at_period_end in the subscription DELETE endpoints. The DELETE endpoint is reserved for immediate canceling going forward. Use cancel_at_period_end on the subscription update endpoints instead.

as per https://stripe.com/docs/upgrades#2018-08-23
You can no longer set `at_period_end` in the subscription `DELETE` endpoints. The `DELETE` endpoint is reserved for immediate canceling going forward. Use `cancel_at_period_end` on the subscription update endpoints instead.
@hah
Copy link
Author

hah commented Aug 8, 2020

oops, now it works exactly as delete()
however you can not pass arguments to cancel anymore, so one of these should be removed completely

@seanpianka
Copy link
Collaborator

Hi @hah, thanks for opening this PR! Are you still interested in getting this merged? It looks like this is a bug in the latest code for handling subscriptions.

@seanpianka seanpianka added the bug Something isn't working label Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants