Part pre payment fix (#3809)

* AE-3626 Part Pre Payment

* Part PrePayment API integration

* Part PrePayment API integration

* Removed test logs

* AE-4068

* Payment Type Selection Fix

* refactored, removed unnecessary code

* merged with development

* merged with development

* Removed extra lines in mid between the code segment

* Show custom pay old flow when part pre payment is disabled

* Events attributes "source" and "selected_option" added

* Updated navigation for "Part Pre Payment" on Payment Screen

* Enable part pre payment flow only for Personal Loan

* Merged with development

* part pre payment fix

* part pre payment fix
This commit is contained in:
amit kumar
2022-09-16 11:45:23 +05:30
committed by GitHub Enterprise
parent f5254fc621
commit c7eb3eb548

View File

@@ -154,7 +154,7 @@ class PaymentFragment : PaymentBaseFragment(), View.OnClickListener {
private fun handleCustomAndPartPrePaymentClick() {
if (loanType == Constants.TYPE_PERSONAL_LOAN) {
if (isPartPrePaymentEnabled.orFalse() && widgetId == Constants.TYPE_PERSONAL_LOAN) {
if (isPartPrePaymentEnabled.orFalse()) {
NaviAnalytics.naviAnalytics.Payment().payCustomAmountPayNowFlowBtnTap()
val bundle = Bundle()
bundle.putString(LOAN_ACCOUNT_NUMBER, loanAccountNumber)