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

Fix missing class on cancelSubscription exception

parent bbfc248c
No related branches found
No related tags found
1 merge request!1246.5
......@@ -1084,7 +1084,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
public function cancelSubscription(&$message = '', $params = []) {
$propertyBag = \Civi\Payment\PropertyBag::cast($params);
if (!$propertyBag->has('recurProcessorID')) {
throw new PaymentProcessorException("cancelSubscription requires the recurProcessorID");
throw new \Civi\Payment\Exception\PaymentProcessorException("cancelSubscription requires the recurProcessorID");
}
// contributionRecurID is set when doCancelRecurring is called directly (from 5.25)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment