Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-01 19:25:51 +04:00
parent 8b205b27f1
commit 61ba6daa97

View file

@ -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)
}