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 beb0b827 authored by rikterbeek's avatar rikterbeek

#35 fixes for creditcard and sepa if lincence agreement checkbox is used

parent 1b9940cd
...@@ -59,8 +59,6 @@ define( ...@@ -59,8 +59,6 @@ define(
]); ]);
return this; return this;
}, },
placeOrderHandler: null,
validateHandler: null,
setPlaceOrderHandler: function(handler) { setPlaceOrderHandler: function(handler) {
this.placeOrderHandler = handler; this.placeOrderHandler = handler;
}, },
......
...@@ -32,7 +32,7 @@ define( ...@@ -32,7 +32,7 @@ define(
'Magento_Checkout/js/checkout-data', 'Magento_Checkout/js/checkout-data',
'Magento_Checkout/js/model/payment/additional-validators' 'Magento_Checkout/js/model/payment/additional-validators'
], ],
function (ko, $, Component, setPaymentMethodAction, selectPaymentMethodAction,quote, checkoutData, additionalValidators) { function (ko, $, Component, setPaymentMethodAction, selectPaymentMethodAction, quote, checkoutData, additionalValidators) {
'use strict'; 'use strict';
var brandCode = ko.observable(null); var brandCode = ko.observable(null);
var paymentMethod = ko.observable(null); var paymentMethod = ko.observable(null);
......
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
<!-- /ko --> <!-- /ko -->
</fieldset> </fieldset>
</form>
<div class="checkout-agreements-block"> <div class="checkout-agreements-block">
<!-- ko foreach: $parent.getRegion('before-place-order') --> <!-- ko foreach: $parent.getRegion('before-place-order') -->
...@@ -254,7 +255,6 @@ ...@@ -254,7 +255,6 @@
</button> </button>
</div> </div>
</div> </div>
</form>
</div> </div>
</div> </div>
...@@ -137,8 +137,7 @@ ...@@ -137,8 +137,7 @@
</fieldset> </fieldset>
</form>
<div class="checkout-agreements-block"> <div class="checkout-agreements-block">
<!-- ko foreach: $parent.getRegion('before-place-order') --> <!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko --> <!-- ko template: getTemplate() --><!-- /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