-
Notifications
You must be signed in to change notification settings - Fork 52
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
Accept Blue: Allow subscription cancellation #440
Comments
By cancel we mean to end the repeating payments for that particular schedule. Wouldn't that be as simple as setting active=false for the schedule? We will also need to put a subscription "on hold" meaning we will suspend payments during a period - I would think the same method would apply but we would eventually change the active=true again for the "on hold" schedule. My question would be if we actually delete the schedule, do we lose the payment history etc that we need? |
@is0utfitters Indeed, that's why deleting is not the prefered optioin. I wasn't sure if we could just pass active=false, because the sandbox env was using a different API call not available to us. But it turns out we can just deactivate: I've also changed the mutation name to |
I have question, how to handle
it seems that |
@tianyingchun This issue is about Accept Blue, but a short answer: The Stripe Subscription plugin currently only creates the subscription in Stripe. This means the future payments you describe are handled by Stripe. Vendure only keeps track of the initial snapshot of the time of creating the subscription: the order itself. I do agree that it would be nice to know in Vendure when future payments have been made. We did something similar in the Accept Blue plugin via webhook. Feel free to create a feature request (preferable with a PR 😄 ). If you need more info, feel free to reach out to me via Discord, or create a new issue :-) |
Is your feature request related to a problem? Please describe.
We would like to be able to cancel created Accept Blue subscriptions, but there is no endpoint for that.
Describe the solution you'd like
An order line could have multiple subscriptions created in Accept Blue, but from a client perspective this shouldn't matter, so we would like to refund subscriptions referenced by order line ID:
We are still awaiting AC support to know how to cancel a subscription. De-active, or delete, or ?
The text was updated successfully, but these errors were encountered: