Skip to content
Snippets Groups Projects
Commit 4d392838 authored by mattwire's avatar mattwire
Browse files

Explicitly support cancel recurring

parent 7d6c6247
Branches
Tags
1 merge request!1146.4.1
......@@ -153,6 +153,18 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
return TRUE;
}
/**
* Does this processor support cancelling recurring contributions through code.
*
* If the processor returns true it must be possible to take action from within CiviCRM
* that will result in no further payments being processed.
*
* @return bool
*/
protected function supportsCancelRecurring() {
return TRUE;
}
/**
* Does the processor support the user having a choice as to whether to cancel the recurring with the processor?
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment