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