This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
app/code/Magento/Checkout/view/frontend/web/js/model/shipping-save-processor Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ define([
12
12
'Magento_Checkout/js/model/payment/method-converter' ,
13
13
'Magento_Checkout/js/model/error-processor' ,
14
14
'Magento_Checkout/js/model/full-screen-loader' ,
15
- 'Magento_Checkout/js/action/select-billing-address'
15
+ 'Magento_Checkout/js/action/select-billing-address' ,
16
+ 'Magento_Checkout/js/model/shipping-save-processor/payload-extender'
16
17
] , function (
17
18
ko ,
18
19
quote ,
@@ -22,7 +23,8 @@ define([
22
23
methodConverter ,
23
24
errorProcessor ,
24
25
fullScreenLoader ,
25
- selectBillingAddressAction
26
+ selectBillingAddressAction ,
27
+ payloadExtender
26
28
) {
27
29
'use strict' ;
28
30
@@ -46,6 +48,8 @@ define([
46
48
}
47
49
} ;
48
50
51
+ payloadExtender ( payload ) ;
52
+
49
53
fullScreenLoader . startLoader ( ) ;
50
54
51
55
return storage . post (
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright © 2013-2017 Magento, Inc. All rights reserved.
3
+ * See COPYING.txt for license details.
4
+ */
5
+ define ( function ( ) {
6
+ 'use strict' ;
7
+
8
+ return function ( payload ) {
9
+ payload . addressInformation [ 'extension_attributes' ] = { } ;
10
+
11
+ return payload ;
12
+ } ;
13
+ } ) ;
You can’t perform that action at this time.
0 commit comments