From aa39daf10f190ea12f6a6ef1c58fb3d75bf33b5e Mon Sep 17 00:00:00 2001 From: Tamara Date: Fri, 14 Jul 2023 09:30:36 +0200 Subject: [PATCH 1/3] Fix the issue with missing request data for PayPal CS-4475 --- service/builder/Payment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/service/builder/Payment.php b/service/builder/Payment.php index 11a06eb5..da83762d 100644 --- a/service/builder/Payment.php +++ b/service/builder/Payment.php @@ -38,6 +38,7 @@ public function buildPaymentData( $request['channel'] = 'web'; $request['origin'] = $origin; $request['shopperInteraction'] = 'Ecommerce'; + $request['storePaymentMethod'] = $request['storePaymentMethod'] === 'true'; return $request; } From a3affbaaf17340cc38502622f60df4487c21d96e Mon Sep 17 00:00:00 2001 From: Marija Date: Mon, 24 Jul 2023 16:13:47 +0200 Subject: [PATCH 2/3] Fix GooglePay button rendering CS-4395 --- adyenofficial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adyenofficial.php b/adyenofficial.php index 6d36b9a8..37957a71 100644 --- a/adyenofficial.php +++ b/adyenofficial.php @@ -1773,7 +1773,7 @@ private function getCheckoutComponentInitData() ); // List of payment methods that needs to show the pay button from the component - $paymentMethodsWithPayButtonFromComponent = json_encode(['paywithgoogle', 'applepay', 'paypal']); + $paymentMethodsWithPayButtonFromComponent = json_encode(['googlepay', 'paywithgoogle', 'applepay', 'paypal']); // All payment method specific configuration $paymentMethodsConfigurations = json_encode( From 3ec7d6f172a4f6dfa80b9afbf958b5750cb02436 Mon Sep 17 00:00:00 2001 From: Marija Date: Tue, 25 Jul 2023 09:31:58 +0200 Subject: [PATCH 3/3] Release version 4.0.7 CS-4395 --- adyenofficial.php | 2 +- service/adapter/classes/Configuration.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adyenofficial.php b/adyenofficial.php index 37957a71..a795db90 100644 --- a/adyenofficial.php +++ b/adyenofficial.php @@ -128,7 +128,7 @@ public function __construct() { $this->module_key = '0d28de799435cd859f10e31f2edafc39'; $this->name = 'adyenofficial'; - $this->version = '4.0.6'; + $this->version = '4.0.7'; $this->tab = 'payments_gateways'; $this->author = 'Adyen'; $this->bootstrap = true; diff --git a/service/adapter/classes/Configuration.php b/service/adapter/classes/Configuration.php index ab418b7e..5de52186 100644 --- a/service/adapter/classes/Configuration.php +++ b/service/adapter/classes/Configuration.php @@ -72,7 +72,7 @@ public function __construct(Logger $logger) $this->encryptedApiKey = $this->getEncryptedAPIKey(); $this->clientKey = $this->getClientKey(); $this->liveEndpointPrefix = \Configuration::get('ADYEN_LIVE_ENDPOINT_URL_PREFIX'); - $this->moduleVersion = '4.0.6'; + $this->moduleVersion = '4.0.7'; $this->moduleName = 'adyen-prestashop'; $this->integratorName = \Configuration::get('ADYEN_INTEGRATOR_NAME', null, null, null, ''); }