NTP-66598 | PS | fix add account with one-cc (#16315)
This commit is contained in:
@@ -95,6 +95,7 @@ constructor(
|
||||
|
||||
init {
|
||||
viewModelScope.safeLaunch(Dispatchers.IO) {
|
||||
pmsLinkedAccountUseCase.clear()
|
||||
refreshLinkedAccounts()
|
||||
initUpiLiteSync()
|
||||
}
|
||||
@@ -221,7 +222,6 @@ constructor(
|
||||
|
||||
private suspend fun clearPaymentData() {
|
||||
paymentDataProvider.clear()
|
||||
pmsLinkedAccountUseCase.clear()
|
||||
}
|
||||
|
||||
protected suspend fun initializePaymentSession(source: String) {
|
||||
|
||||
@@ -234,7 +234,6 @@ constructor(
|
||||
this.category = category
|
||||
this.tenantFlowName = tenantFlowName
|
||||
this.blacklistedMethodList = blacklistedMethodList
|
||||
pmsLinkedAccountUseCase.clear()
|
||||
viewModelScope.safeLaunch {
|
||||
val isOneClickCheckoutExperienceEnabled = isOneClickCheckoutExperienceEnabled()
|
||||
naviPaymentAnalytics.onScreenLanded(experimentVariantName = experimentVariant)
|
||||
|
||||
@@ -328,7 +328,7 @@ constructor(
|
||||
selectedBankAccount.isArcProtected = naviUpiTransactionInfo.isArcProtected
|
||||
sendMoneyUseCase.executeSendMoney(
|
||||
payeeEntity =
|
||||
Uri.parse(naviUpiTransactionInfo.naviPayUpiUriKey)
|
||||
Uri.parse(naviUpiTransactionInfo.naviPayUpiUriKey.orEmpty())
|
||||
.getPayeeEntity(isVerifiedVpa = true),
|
||||
upiRequestId = naviUpiTransactionInfo.upiRequestId,
|
||||
selectedBankAccount = selectedBankAccount,
|
||||
|
||||
Reference in New Issue
Block a user