Commit cfce34d9 authored by mattwire's avatar mattwire
Browse files

Change doRefund signature to match what is in CiviCRM core

parent d1aab466
......@@ -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])) {
Supports Markdown
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