(20241228) Fixed the payment update callback URL for Safaricom M-Pesa Express.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user