Skip to content

Commit

Permalink
1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 20, 2017
1 parent 7d63108 commit 6a09c2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/square"
,"version": "1.2.6"
,"version": "1.2.7"
,"description": "The «Square» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/square"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.12.0", "mage2pro/square-php-sdk": "^2.0.2"}
,"require": {"mage2pro/core": ">=2.12.10", "mage2pro/square-php-sdk": "^2.0.2"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Square\\": ""}}
,"keywords": [
"API"
Expand Down
4 changes: 2 additions & 2 deletions view/frontend/web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ return parent.extend({
errorsA.push(error.message);
});
_this.showErrorMessage(errorsA.join("\n"));
this.isPlaceOrderActionAllowed(true);
this.state_waitingForServerResponse(false);
}
},
paymentFormLoaded: function() {
Expand Down Expand Up @@ -191,7 +191,7 @@ return parent.extend({
event.preventDefault();
}
// 2017-07-26 «Sometimes getting duplicate orders in checkout»: https://mage2.pro/t/4217
this.isPlaceOrderActionAllowed(false);
this.state_waitingForServerResponse(true);
this.square.requestCardNonce();
}
});});

0 comments on commit 6a09c2b

Please sign in to comment.