feat(payment): restore ezpay return orders
This commit is contained in:
@@ -300,6 +300,15 @@ export const paymentMachine = setup({
|
||||
},
|
||||
},
|
||||
on: {
|
||||
PaymentReturned: {
|
||||
target: ".pollingOrder",
|
||||
actions: assign(({ event }) => ({
|
||||
currentOrderId: event.orderId,
|
||||
payParams: null,
|
||||
orderStatus: "pending",
|
||||
errorMessage: null,
|
||||
})),
|
||||
},
|
||||
PaymentLaunchFailed: {
|
||||
target: ".failed",
|
||||
actions: assign(({ event }) => ({
|
||||
|
||||
Reference in New Issue
Block a user