From 787753436607fdcc05c284d60ac9443f51174ce0 Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Fri, 28 Nov 2025 12:01:17 +0300 Subject: [PATCH] prevent users without a voucher from accessing the Get M-Pesa menu --- services/registration/get_mpesa.vis | 1 + 1 file changed, 1 insertion(+) diff --git a/services/registration/get_mpesa.vis b/services/registration/get_mpesa.vis index dec50f1..bf536d3 100644 --- a/services/registration/get_mpesa.vis +++ b/services/registration/get_mpesa.vis @@ -1,3 +1,4 @@ +CATCH no_voucher flag_no_active_voucher 1 LOAD get_mpesa_max_limit 0 RELOAD get_mpesa_max_limit MAP get_mpesa_max_limit