digipay-utility-payment 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -611,6 +611,8 @@ class TopupAndBillpaymentService {
|
|
|
611
611
|
this.deleteWorkflowScreens();
|
|
612
612
|
this.deleteWorkflowData();
|
|
613
613
|
this.setCurrentScreenStep(0);
|
|
614
|
+
this.saveTxnData(null);
|
|
615
|
+
this.saveBillData(null);
|
|
614
616
|
}
|
|
615
617
|
// API wrappers
|
|
616
618
|
getVendorDetailsById(id) {
|
|
@@ -5949,11 +5951,17 @@ class TopupAndBillpaymentReviewComponent extends TransactionClass {
|
|
|
5949
5951
|
this.isTpinVerifiedForPayment = false;
|
|
5950
5952
|
if (this.sdkState?.isActive()) {
|
|
5951
5953
|
this.sdkState.setStep("CATEGORY");
|
|
5954
|
+
this.redirectTo(this.router, "/operations/topup-and-billpayment", { flow: "true" });
|
|
5952
5955
|
}
|
|
5953
5956
|
else {
|
|
5954
5957
|
this.router.navigateByUrl("/operations/topup-and-billpayment");
|
|
5955
5958
|
}
|
|
5956
5959
|
}
|
|
5960
|
+
redirectTo = (router, url, queryParams = {}) => {
|
|
5961
|
+
router
|
|
5962
|
+
.navigateByUrl("/", { skipLocationChange: true })
|
|
5963
|
+
.then(() => router.navigate([url], { queryParams }));
|
|
5964
|
+
};
|
|
5957
5965
|
closeTransactionPinModal() {
|
|
5958
5966
|
this.hideModal("TransactionPIN");
|
|
5959
5967
|
}
|