(20241228) Fixed the payment update callback URL for Safaricom M-Pesa Express.

This commit is contained in:
2024-12-28 16:54:50 +05:30
parent 5c17eb28ae
commit 696af7a167
@@ -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,