Updated on 2026-08-14
This commit is contained in:
parent
8b205b27f1
commit
61ba6daa97
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue