Commit decc808c authored by mattwire's avatar mattwire

Fix missing class on cancelSubscription exception

parent 858bf1d6
......@@ -727,7 +727,7 @@ abstract class CRM_Core_Payment_AuthorizeNetCommon 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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment