Skip to content

Commit 9e7af02

Browse files
author
Alex Akimov
committed
MAGETWO-39505: Update iframe payment method flow
1 parent 433513a commit 9e7af02

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/view/payment

1 file changed

+4
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/payment/default.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ define(
4545
/**
4646
* Place order.
4747
*/
48-
placeOrder: function () {
48+
placeOrder: function (data, event) {
49+
if (event) {
50+
event.preventDefault();
51+
}
4952
var self = this,
5053
placeOrder,
5154
emailValidationResult = customer.isLoggedIn(),

0 commit comments

Comments
 (0)