Skip to content

Commit 2789565

Browse files
committed
MAGETWO-39704: Impossible to place order with PayPal Payments Pro
1 parent 0167dfb commit 2789565

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Payment/view/frontend/web/transparent.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
define([
77
"jquery",
88
"mage/template",
9+
"Magento_Checkout/js/action/set-payment-information",
910
"jquery/ui",
1011
"Magento_Payment/js/model/credit-card-validation/validator"
11-
], function($, mageTemplate){
12+
], function($, mageTemplate, setPaymentInformationAction){
1213
'use strict';
1314

1415
$.widget('mage.transparent', {
@@ -73,6 +74,7 @@ define([
7374
* @private
7475
*/
7576
_orderSave: function() {
77+
setPaymentInformationAction();
7678
var postData = $(this.options.paymentFormSelector).serialize();
7779
if ($(this.options.reviewAgreementForm).length) {
7880
postData += '&' + $(this.options.reviewAgreementForm).serialize();

0 commit comments

Comments
 (0)