diff --git a/packages/relay/src/routers/PaymentRouter.ts b/packages/relay/src/routers/PaymentRouter.ts index a0b59818..442475db 100644 --- a/packages/relay/src/routers/PaymentRouter.ts +++ b/packages/relay/src/routers/PaymentRouter.ts @@ -1038,7 +1038,13 @@ export class PaymentRouter { if (item === undefined) { return res.status(200).json(ResponseMessage.getErrorMessage("2003")); } else { - if (item.paymentStatus !== LoyaltyPaymentTaskStatus.CLOSED_NEW) { + if ( + !( + item.paymentStatus === LoyaltyPaymentTaskStatus.CLOSED_NEW || + item.paymentStatus === LoyaltyPaymentTaskStatus.DENIED_CANCEL || + item.paymentStatus === LoyaltyPaymentTaskStatus.FAILED_CANCEL + ) + ) { return res.status(200).json(ResponseMessage.getErrorMessage("2022")); }