From 04e1927a90da4de3e1c7c189bb8c781b28b8d31c Mon Sep 17 00:00:00 2001 From: SimonZanta Date: Thu, 13 Nov 2025 11:25:09 +0100 Subject: [PATCH 1/2] - enable AP a GP --- src/Entity/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Payment.php b/src/Entity/Payment.php index 159433f..9a96cb3 100644 --- a/src/Entity/Payment.php +++ b/src/Entity/Payment.php @@ -45,7 +45,7 @@ class Payment 'url_cancelled' => '', 'url_pending' => '', 'chargeUnregulatedCardFees' => false, - 'enableApplePayGooglePay' => false, + 'enableApplePayGooglePay' => true, 'prepareOnly' => true, 'embedded' => false, 'allowedMethods' => [], From 8f51e79422be80ca2d523d88e021862943399254 Mon Sep 17 00:00:00 2001 From: SimonZanta Date: Thu, 13 Nov 2025 11:28:56 +0100 Subject: [PATCH 2/2] - fix test --- tests/Integration/Entity/Request/PaymentCreateRequestCest.php | 4 ++-- tests/Unit/Entity/PaymentCest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Integration/Entity/Request/PaymentCreateRequestCest.php b/tests/Integration/Entity/Request/PaymentCreateRequestCest.php index 881ed01..d2c0f85 100644 --- a/tests/Integration/Entity/Request/PaymentCreateRequestCest.php +++ b/tests/Integration/Entity/Request/PaymentCreateRequestCest.php @@ -61,7 +61,7 @@ protected function getPaymentScenarios(){ 'url_cancelled' => '', 'url_pending' => '', 'chargeUnregulatedCardFees' => 'false', - 'enableApplePayGooglePay' => 'false', + 'enableApplePayGooglePay' => 'true', 'initRecurringId' => '', ], @@ -114,7 +114,7 @@ protected function getPaymentScenarios(){ 'url_cancelled' => '', 'url_pending' => '', 'chargeUnregulatedCardFees' => 'false', - 'enableApplePayGooglePay' => 'false', + 'enableApplePayGooglePay' => 'true', 'country' => '', 'curr' => '', 'label' => '', diff --git a/tests/Unit/Entity/PaymentCest.php b/tests/Unit/Entity/PaymentCest.php index bbaa405..b4ff48e 100644 --- a/tests/Unit/Entity/PaymentCest.php +++ b/tests/Unit/Entity/PaymentCest.php @@ -71,7 +71,7 @@ public function getParamsTest(UnitTester $I) 'url_cancelled' => '', 'url_pending' => '', 'chargeUnregulatedCardFees' => false, - 'enableApplePayGooglePay' => false, + 'enableApplePayGooglePay' => true, 'initRecurringId' => '', ], $paymentParams);