Skip to content

Commit

Permalink
Merge pull request #263 from Adyen/develop
Browse files Browse the repository at this point in the history
Fix issues with GooglePay and PayPal
  • Loading branch information
MarijaIv authored Jul 25, 2023
2 parents 930ad84 + 3ec7d6f commit 8012b9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions adyenofficial.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion service/adapter/classes/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');
}
Expand Down
1 change: 1 addition & 0 deletions service/builder/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function buildPaymentData(
$request['channel'] = 'web';
$request['origin'] = $origin;
$request['shopperInteraction'] = 'Ecommerce';
$request['storePaymentMethod'] = $request['storePaymentMethod'] === 'true';

return $request;
}
Expand Down

0 comments on commit 8012b9e

Please sign in to comment.