From 696af7a16768514b0a609308f9a33cd20551fbc5 Mon Sep 17 00:00:00 2001 From: khushal Date: Sat, 28 Dec 2024 16:54:50 +0530 Subject: [PATCH] (20241228) Fixed the payment update callback URL for Safaricom M-Pesa Express. --- .../finstitutions/payments/safaricom_mpesa_express.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers_v2/finstitutions/payments/safaricom_mpesa_express.py b/controllers_v2/finstitutions/payments/safaricom_mpesa_express.py index bd845f5..51ddf88 100644 --- a/controllers_v2/finstitutions/payments/safaricom_mpesa_express.py +++ b/controllers_v2/finstitutions/payments/safaricom_mpesa_express.py @@ -215,7 +215,7 @@ class SafaricomMPesaExpressPaymentsController(PaymentsController): type = "CustomerPayBillOnline", reference = str(payment_id), description = payment_request.description, - callback_url = f"https://api.thecaoffice.com/finstitutions/payments/callback/safaricom/mpesaexpress", + callback_url = f"https://api.thecaoffice.com/converse/finstitutions/payments/callback/safaricom/mpesaexpress", payer_no = self.clean_phone_no( payment_request.payerNo ) if isinstance(payment_request.payerNo, str) else payment_request.payerNo,