Skip to content

Commit c7efc6e

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Paypal/view/frontend/web/js/view/payment/method-renderer/payflowpro-method.js

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

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

0 commit comments

Comments
 (0)