From 61ba6daa97d0c3a6561ccd2d16831a27f997f4a1 Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 1 Dec 2025 19:25:51 +0400 Subject: [PATCH] Updated on 2026-08-14 --- .../pay/usecase/TangemPayMainScreenCustomerInfoUseCase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/visa/src/main/kotlin/com/tangem/domain/pay/usecase/TangemPayMainScreenCustomerInfoUseCase.kt b/domain/visa/src/main/kotlin/com/tangem/domain/pay/usecase/TangemPayMainScreenCustomerInfoUseCase.kt index 18cfc5a0e2..2629eb6fa3 100644 --- a/domain/visa/src/main/kotlin/com/tangem/domain/pay/usecase/TangemPayMainScreenCustomerInfoUseCase.kt +++ b/domain/visa/src/main/kotlin/com/tangem/domain/pay/usecase/TangemPayMainScreenCustomerInfoUseCase.kt @@ -64,7 +64,7 @@ class TangemPayMainScreenCustomerInfoUseCase( return repository.getCustomerInfo(userWalletId) .mapLeft { error -> error.mapErrorForCustomer() } .map { customerInfo -> - if (customerInfo.cardInfo == null) { + if (customerInfo.cardInfo == null && customerInfo.isKycApproved) { // If order id wasn't saved -> start order creation and get customer info repository.createOrder(userWalletId) }