File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export function setApplicationState({
32
32
currency,
33
33
display_currency,
34
34
display_exchange_rate,
35
+ flow_id,
35
36
} : IApplicationState ) : void {
36
37
setCustomer ( customer ) ;
37
38
setAddresses ( addresses ) ;
@@ -52,4 +53,5 @@ export function setApplicationState({
52
53
applicationState . resumable_link = resumable_link ;
53
54
applicationState . created_via = created_via ;
54
55
applicationState . is_processed = is_processed ;
56
+ applicationState . flow_id = flow_id ;
55
57
}
Original file line number Diff line number Diff line change @@ -554,6 +554,7 @@ export interface IApplicationState {
554
554
is_processed : boolean ;
555
555
created_via : string ;
556
556
fees : Array < IFees > ;
557
+ flow_id : string | null ;
557
558
}
558
559
559
560
export interface IOrderMetaData {
Original file line number Diff line number Diff line change @@ -276,7 +276,8 @@ export const applicationStateMock: IApplicationState = {
276
276
display_exchange_rate : 1 ,
277
277
is_processed : false ,
278
278
created_via : 'checkout' ,
279
- fees : [ feesMock ]
279
+ fees : [ feesMock ] ,
280
+ flow_id : 'mock_flow' ,
280
281
} ;
281
282
282
283
export const selectShippingLineArrayMock : Array < IShippingLine > = [
Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ export const applicationState: IApplicationState = {
191
191
created_via : '' ,
192
192
is_processed : false ,
193
193
fees,
194
+ flow_id : null
194
195
} ;
195
196
196
197
export const orderInitialData : IOrderInitialData = {
You can’t perform that action at this time.
0 commit comments