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

A way to cancel a recurring payment #46

Open
aldarund opened this issue Dec 1, 2012 · 11 comments
Open

A way to cancel a recurring payment #46

aldarund opened this issue Dec 1, 2012 · 11 comments
Assignees

Comments

@aldarund
Copy link
Contributor

aldarund commented Dec 1, 2012

How can i cancel a reccuring payment? I dont see such option. You can create a reccuring payments but you can`t cancel them, thats strange.

@theju
Copy link
Contributor

theju commented Dec 1, 2012

Generally, a recurring payment is like an 'authorized' transaction that may be 'voided'. Hence there wasn't a need so far to add a separate method for it.

@theju
Copy link
Contributor

theju commented Dec 1, 2012

I will close this issue for now but feel free to reopen if your concerns still exist.

@theju theju closed this as completed Dec 1, 2012
@aldarund
Copy link
Contributor Author

aldarund commented Dec 1, 2012

Ok, how can i cancel a braintree recurring payment. You cant just void it, you need to cancel a subscription.

@theju
Copy link
Contributor

theju commented Dec 1, 2012

Thanks for the specific information. I will take a look into this.

@theju theju reopened this Dec 1, 2012
@aldarund
Copy link
Contributor Author

aldarund commented Dec 1, 2012

I didnt tried void subscription but looking at braintree api it will not work. In baintree gateway you create a reccuring with this code:
response = braintree.Subscription.create(request_hash)
And void is done with:
response = braintree.Transaction.void(identification)
But according to braintree api https://www.braintreepayments.com/docs/python/subscriptions/cancel you need to call a cancel method on Subscription object and i dont see anything like this in code

@theju
Copy link
Contributor

theju commented Dec 1, 2012

That's right, it won't work in braintree's case. Would you please consider writing a recurring_cancel method with a test and update the docs?

@aldarund
Copy link
Contributor Author

aldarund commented Dec 3, 2012

As i see some other gateways need this too, at least stripe needs

@theju
Copy link
Contributor

theju commented Dec 6, 2012

I think it is best to have a recurring_cancel method in the gateway.

@ghost ghost assigned tuxcanfly May 14, 2013
@tuxcanfly
Copy link
Member

Let's plan this for the next release.

@romecode
Copy link

romecode commented Nov 6, 2014

Long time no post it seems?

@tuxcanfly
Copy link
Member

Sorry about that, can't give an ETA atm but there are plans to reboot and update a few things including this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants