Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
capo
Stripe
Commits
cfce34d9
Commit
cfce34d9
authored
Oct 31, 2019
by
mattwire
Browse files
Change doRefund signature to match what is in CiviCRM core
parent
d1aab466
Changes
1
Hide whitespace changes
Inline
Side-by-side
CRM/Core/Payment/Stripe.php
View file @
cfce34d9
...
...
@@ -702,7 +702,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
* @return array
* @throws \Civi\Payment\Exception\PaymentProcessorException
*/
public
function
doRefund
(
$params
)
{
public
function
doRefund
(
&
$params
)
{
$requiredParams
=
[
'trxn_id'
,
'amount'
];
foreach
(
$requiredParams
as
$required
)
{
if
(
!
isset
(
$params
[
$required
]))
{
...
...
Write
Preview
Supports
Markdown
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