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

FIxes while retesting (#928)

* Remove unused legend

* Add support for bcmc separate component

* Fix google pay
parent c8e009f6
......@@ -150,13 +150,7 @@ define(
googlepay.isAvailable().then(function() {
self.googlePayAllowed(true);
googlepay.mount(self.googlePayNode);
$(self.googlePayNode).find('button').prop('disabled', !self.validate(true));
// TODO check if it's better
/*
self.googlePayNode.addEventListener('click', function () {
self.validate();
});
*/
$(self.googlePayNode).toggleClass('disabled', !self.validate(true));
}, function(error) {
console.log(error);
self.googlePayAllowed(false);
......
......@@ -59,9 +59,7 @@ define(
var unsupportedPaymentMethods = [
'scheme',
'boleto',
'bcmc_mobile_QR',
'wechatpay',
/^bcmc$/,
'applepay',
'paywithgoogle'];
var popupModal;
......
......@@ -68,7 +68,6 @@
data-bind="mageInit: { 'validation':[]}, attr: {id: 'payment_form_' + $parent.getCode() + '_' + brandCode}">
<fieldset class="fieldset"
data-bind='attr: {id: "payment_fieldset_" + $parent.getCode() + "_" + brandCode}'>
<legend>Brand Code</legend>
<div data-bind='attr: {id: "adyen-alternative-payment-container-" + brandCode}'
afterRender="renderCheckoutComponent()"></div>
</fieldset>
......
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