fix(payment): fail order polling after timeout
This commit is contained in:
@@ -16,6 +16,7 @@ export interface PaymentState {
|
||||
currentOrderId: string | null;
|
||||
payParams: Record<string, unknown> | null;
|
||||
orderStatus: PaymentOrderStatus | null;
|
||||
orderPollingStartedAt: number | null;
|
||||
errorMessage: string | null;
|
||||
launchNonce: number;
|
||||
}
|
||||
@@ -29,6 +30,7 @@ export const initialState: PaymentState = {
|
||||
currentOrderId: null,
|
||||
payParams: null,
|
||||
orderStatus: null,
|
||||
orderPollingStartedAt: null,
|
||||
errorMessage: null,
|
||||
launchNonce: 0,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user