diff --git a/vehicles/src/modules/permit-application-payment/payment/payment.service.ts b/vehicles/src/modules/permit-application-payment/payment/payment.service.ts index b50df5710..dbdff8663 100644 --- a/vehicles/src/modules/permit-application-payment/payment/payment.service.ts +++ b/vehicles/src/modules/permit-application-payment/payment/payment.service.ts @@ -271,10 +271,8 @@ export class PaymentService { } if ( - (createTransactionDto?.paymentMethodTypeCode === - PaymentMethodTypeEnum.WEB || - createTransactionDto?.paymentMethodTypeCode === - PaymentMethodTypeEnum.POS) && + createTransactionDto?.paymentMethodTypeCode === + PaymentMethodTypeEnum.POS && !createTransactionDto?.paymentCardTypeCode ) { throwBadRequestException('paymentCardTypeCode', [