We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 187e3f09 authored by cyattilakiss's avatar cyattilakiss Committed by GitHub

Release 4.5.4

 - #538 Remove idempotency key from paymentsDetails calls
 - #539 add missing bcmc_mobile_app logo
 - #536 Fix for IE11 and older browsers
parents bcbba30e a9b0234a
......@@ -97,7 +97,6 @@ class AdyenThreeDS2Process implements AdyenThreeDS2ProcessInterface
try {
$client = $this->adyenHelper->initializeAdyenClient($quote->getStoreId());
$service = $this->adyenHelper->createAdyenCheckoutService($client);
$requestOptions['idempotencyKey'] = $quote->reserveOrderId()->getReservedOrderId();
$result = $service->paymentsDetails($request);
} catch (\Adyen\AdyenException $e) {
......
......@@ -118,8 +118,7 @@ class PaymentRequest extends DataObject
try {
$client = $this->_adyenHelper->initializeAdyenClient($storeId);
$service = $this->_adyenHelper->createAdyenCheckoutService($client);
$requestOptions['idempotencyKey'] = $order->getIncrementId();
$result = $service->paymentsDetails($request, $requestOptions);
$result = $service->paymentsDetails($request);
} catch (\Adyen\AdyenException $e) {
throw new \Magento\Framework\Exception\LocalizedException(__('3D secure failed'));
}
......
......@@ -2,7 +2,7 @@
"name": "adyen/module-payment",
"description": "Official Magento2 Plugin to connect to Payment Service Provider Adyen.",
"type": "magento2-module",
"version": "4.5.3",
"version": "4.5.4",
"license": [
"OSL-3.0",
"AFL-3.0"
......
......@@ -24,7 +24,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Adyen_Payment" setup_version="4.5.3">
<module name="Adyen_Payment" setup_version="4.5.4">
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Quote"/>
......
......@@ -32,7 +32,7 @@ define(
/**
* Retrieve the list of available payment methods from the server
*/
retrieveAvailablePaymentMethods: function (callback = null) {
retrieveAvailablePaymentMethods: function (callback) {
var self = this;
// retrieve payment methods
......@@ -56,7 +56,7 @@ define(
).done(
function (response) {
self.setPaymentMethods(response);
if (callback !== null) {
if (callback) {
callback();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment