Skip to content

Commit ea46c30

Browse files
author
Viktor Tymchynskyi
committed
MAGETWO-43934: Unnecessary loader on checkout when placing order with invalid credit card
1 parent 9d31376 commit ea46c30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Authorizenet/view/frontend/web/js/view/payment/method-renderer/authorizenet-directpost.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ define(
5050
placeOrder: function () {
5151
var self = this;
5252

53-
fullScreenLoader.startLoader();
54-
5553
if (this.validateHandler() && additionalValidators.validate()) {
54+
fullScreenLoader.startLoader();
5655
this.isPlaceOrderActionAllowed(false);
5756
$.when(setPaymentInformationAction(this.messageContainer, {
5857
'method': self.getCode()

0 commit comments

Comments
 (0)