Updated on 2026-08-14
This commit is contained in:
parent
dcda504df6
commit
a3b65cd194
3 changed files with 25 additions and 37 deletions
|
|
@ -53,9 +53,9 @@ internal class TangemPayUpdateInfoStateTransformer(
|
|||
|
||||
// when statement copied to WalletTangemPayAnalyticsEventSender. Be careful when editing.
|
||||
return when {
|
||||
value.orderStatus == OrderStatus.CANCELED -> createCancelledState(customerId)
|
||||
value.info.kycStatus != KycStatus.APPROVED && !value.info.customerId.isNullOrEmpty() ->
|
||||
createKycInProgressState(kycStatus = value.info.kycStatus, customerId = customerId)
|
||||
value.orderStatus == OrderStatus.CANCELED -> createCancelledState(customerId)
|
||||
cardInfo != null && productInstance != null && value.orderStatus == OrderStatus.COMPLETED ->
|
||||
getCardInfoState(customerId, cardInfo, productInstance)
|
||||
else -> createIssueProgressState()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue