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 1e8f69e7 authored by Attila Kiss's avatar Attila Kiss Committed by GitHub

[PW-3140] Google Pay Integration issue (#836)

* Use adyenGooglePay configuration instead of adyen for google pay

* Fix missing function
parent 52839256
......@@ -215,7 +215,10 @@ define(
return window.checkoutConfig.payment.adyen.originKey;
},
getCheckoutEnvironment: function () {
return window.checkoutConfig.payment.adyen.checkoutEnvironment;
return window.checkoutConfig.payment.adyenGooglePay.checkoutEnvironment;
},
onPaymentMethodContentChange: function (data, event) {
$(this.googlePayNode).find('button').prop('disabled', !this.validate());
}
});
}
......
......@@ -45,7 +45,7 @@
<!--/ko-->
</div>
<div class="checkout-agreements-block" afterRender="bindDomEventListener">
<div class="checkout-agreements-block">
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
......
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