You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (order.PaymentId.HasValue || order.OrderStatus != OrderStatus.Pending)
{
// Todo: should cancel the payment?
throw new OrderIsInWrongStageException(order.Id);
}
In a certain scenario, order.orderstatus = Canceled, the order has been canceled and the payment has been canceled.
Then the payment transaction side is still subscribed to the event, triggering this progress exception issue.
How do I discard this event? Is to make sure that this mistake never happens again?
The text was updated successfully, but these errors were encountered:
In a certain scenario, order.orderstatus = Canceled, the order has been canceled and the payment has been canceled.
Then the payment transaction side is still subscribed to the event, triggering this progress exception issue.
How do I discard this event? Is to make sure that this mistake never happens again?
The text was updated successfully, but these errors were encountered: