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 ff4343d8 authored by attilak's avatar attilak

origin key, loading context is not necessary for iDeal component

parent 0653d7d6
......@@ -134,8 +134,6 @@ class AdyenHppConfigProvider implements ConfigProviderInterface
}
}
$config['payment']['adyenHpp']['originKey'] = $this->adyenHelper->getOriginKeyForBaseUrl();
$config['payment']['adyenHpp']['checkoutUrl'] = $this->adyenHelper->getCheckoutContextUrl($this->storeManager->getStore()->getId());
$config['payment']['adyenHpp']['locale'] = $this->adyenHelper->getStoreLocale($this->storeManager->getStore()->getId());
// add to config
......
......@@ -227,7 +227,6 @@ define(
* sets up the callbacks for ideal components and
*/
result.renderIdealComponent = function () {
self.isPlaceOrderActionAllowed(false);
var secureFieldsNode = document.getElementById('iDealContainer');
......@@ -237,8 +236,6 @@ define(
});
var ideal = checkout.create('ideal', {
originKey: self.getOriginKey(),
loadingContext: self.getLoadingContext(),
items: result.getIssuerListForComponent(),
onChange: function (state) {
// isValid is not present on start
......@@ -429,12 +426,6 @@ define(
getRatePayDeviceIdentToken: function () {
return window.checkoutConfig.payment.adyenHpp.deviceIdentToken;
},
getOriginKey: function () {
return window.checkoutConfig.payment.adyenHpp.originKey;
},
getLoadingContext: function () {
return window.checkoutConfig.payment.adyenHpp.checkoutUrl;
},
getLocale: function () {
return window.checkoutConfig.payment.adyenHpp.locale;
}
......
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