Skip to content
Snippets Groups Projects
Commit 72ed9789 authored by Cristian Partica's avatar Cristian Partica
Browse files

MAGETWO-39280: Set Total amount in checkout flow order

- changed the order of setTotals before we set service.setSelectedPaymentData and service.setSelectedPaymentInfo so subscribed observers would have the accurate totals
parent 87f0ada5
Branches
No related merge requests found
......@@ -80,9 +80,10 @@ define(
});
if (proceed) {
quote.setPaymentMethod(methodData.method);
//set the totals before setting PaymentData
quote.setTotals(response);
service.setSelectedPaymentData(methodData);
service.setSelectedPaymentInfo(methodInfo);
quote.setTotals(response);
navigator.setCurrent('paymentMethod').goNext();
}
}
......
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