Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Extensions
authnet
Commits
decc808c
Commit
decc808c
authored
Aug 15, 2020
by
mattwire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing class on cancelSubscription exception
parent
858bf1d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CRM/Core/Payment/AuthorizeNetCommon.php
CRM/Core/Payment/AuthorizeNetCommon.php
+1
-1
No files found.
CRM/Core/Payment/AuthorizeNetCommon.php
View file @
decc808c
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment