NTP-50495 | Shiv Natani | non onBoarded check balance fix onecc (#15628)
This commit is contained in:
@@ -728,7 +728,6 @@ constructor(
|
||||
}
|
||||
|
||||
private suspend fun handleCheckBalanceClicked() {
|
||||
updateCheckBalanceCtaLoader(isLoaderEnabled = true)
|
||||
naviPaymentCommonAnalytics.onCheckBalanceClicked(
|
||||
screenName = NaviPaymentAnalyticScreenName.ONE_CLICK_CHECKOUT_SCREEN.screenName,
|
||||
accountId = state.value.selectedAccount?.accountId.orEmpty(),
|
||||
@@ -741,6 +740,7 @@ constructor(
|
||||
screenName = NaviPaymentScreenType.ONE_CLICK_CHECKOUT_SCREEN.name,
|
||||
onPspEvaluated = { pspEvaluationResult ->
|
||||
if (pspEvaluationResult.onboardingDataEntity.isNotNull()) {
|
||||
updateCheckBalanceCtaLoader(isLoaderEnabled = true)
|
||||
onPspEvaluatedForCheckBalance(
|
||||
pspEvaluationResult = pspEvaluationResult,
|
||||
linkedAccountEntity = it,
|
||||
@@ -846,15 +846,6 @@ constructor(
|
||||
linkedAccountEntity: LinkedAccountEntity,
|
||||
) {
|
||||
val customerOnboardingEntity = pspEvaluationResult.onboardingDataEntity ?: return
|
||||
if (pspEvaluationResult.isOnboardingTriggered) {
|
||||
updateBottomSheetUIState(
|
||||
showBottomSheet = true,
|
||||
bottomSheetUIState =
|
||||
OneClickBottomSheetUiState.RedirectingBottomSheet(
|
||||
titleText = resourceProvider.getString(R.string.redirecting_make_payment)
|
||||
),
|
||||
)
|
||||
}
|
||||
accountListCheckBalanceUseCase.onCheckBalanceClicked(
|
||||
linkedAccount = linkedAccountEntity,
|
||||
screenName = NaviPaymentScreenType.ONE_CLICK_CHECKOUT_SCREEN.name,
|
||||
|
||||
Reference in New Issue
Block a user