From 621476592a3f3828ff93bb963f189463926fda64 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Tue, 6 Jan 2026 19:28:30 +0100 Subject: [PATCH] fix: allow KYC status 'Check' for automatic chargeback processing (#2851) Users with kycStatus='Check' were excluded from the automatic chargeback cronjob, causing refunds to get stuck in 'Refund pending' state. Added KycStatus.CHECK to the allowed statuses alongside NA and COMPLETED. --- .../process/services/buy-crypto-preparation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subdomains/core/buy-crypto/process/services/buy-crypto-preparation.service.ts b/src/subdomains/core/buy-crypto/process/services/buy-crypto-preparation.service.ts index 0d088ad749..0c335c9b74 100644 --- a/src/subdomains/core/buy-crypto/process/services/buy-crypto-preparation.service.ts +++ b/src/subdomains/core/buy-crypto/process/services/buy-crypto-preparation.service.ts @@ -455,7 +455,7 @@ export class BuyCryptoPreparationService { isComplete: false, transaction: { userData: { - kycStatus: In([KycStatus.NA, KycStatus.COMPLETED]), + kycStatus: In([KycStatus.NA, KycStatus.CHECK, KycStatus.COMPLETED]), status: Not(UserDataStatus.BLOCKED), riskStatus: In([RiskStatus.NA, RiskStatus.RELEASED]), },