diff --git a/app/Services/PaymentService.php b/app/Services/PaymentService.php index 365f140c0f..b8ad042374 100644 --- a/app/Services/PaymentService.php +++ b/app/Services/PaymentService.php @@ -227,7 +227,7 @@ class PaymentService { // setup the gateway/payment info $gateway = $this->createGateway($accountGateway); - $details = $this->getPaymentDetails($invitation); + $details = $this->getPaymentDetails($invitation, $accountGateway); $details['cardReference'] = $token; // submit purchase/get response diff --git a/tests/acceptance/CheckBalanceCest.php b/tests/acceptance/CheckBalanceCest.php index fac4d8ab5c..f96fe85dbd 100644 --- a/tests/acceptance/CheckBalanceCest.php +++ b/tests/acceptance/CheckBalanceCest.php @@ -4,7 +4,7 @@ use Codeception\Util\Fixtures; use \AcceptanceTester; use Faker\Factory; -class OnlinePaymentCest +class CheckBalanceCest { private $faker;