From df278c6aeb3c441d58668ddc0e259b38abdf0127 Mon Sep 17 00:00:00 2001 From: demeritcowboy <demeritcowboy@hotmail.com> Date: Mon, 9 May 2022 11:05:34 -0400 Subject: [PATCH] test --- tests/phpunit/CRM/Stripe/BaseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Stripe/BaseTest.php b/tests/phpunit/CRM/Stripe/BaseTest.php index 1f25b7cb..8b7f39a7 100644 --- a/tests/phpunit/CRM/Stripe/BaseTest.php +++ b/tests/phpunit/CRM/Stripe/BaseTest.php @@ -181,7 +181,7 @@ abstract class CRM_Stripe_BaseTest extends \PHPUnit\Framework\TestCase implement if (array_key_exists('trxn_id', $ret)) { $this->trxn_id = $ret['trxn_id']; $contribution = new CRM_Contribute_BAO_Contribution(); - $contribution->id = $params['contribution_id']; + $contribution->id = $params['contribution_id'] ?? $params['contributionID']; $contribution->trxn_id = $ret['trxn_id']; $contribution->save(); } -- GitLab