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