laravel_mpesa
laravel_mpesa copied to clipboard
getting error in c3b.
On call : $simulateResponse=Mpesa::simulateC2B(10, "254708374149", "Testing"); Getting this error : {"fault":{"faultstring":"Unable to identify proxy for host: secure and url: /c2b/v1/simulate","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}
Please help me to fix it.
@rohitgomgee Safaricom have upgraded this endpoint to V2, am not sure but they might have closed V1. This package is still out of date.
You can fork the package and change this line to v2
https://github.com/gathuku/laravel_mpesa/blob/ace7024633d7b24015c69daa459df23ea0438523/src/Mpesa.php#L309