laravel_mpesa icon indicating copy to clipboard operation
laravel_mpesa copied to clipboard

Doesn't work with laravel 9 @rohitgomgee Safaricom have upgraded this endpoint to V2, am not sure but they might have closed V1. This package is still out of date.

Open Wesley-Sinde opened this issue 1 year ago • 0 comments

I changed $url = $this->base_url . '/c2b/v1/simulate'; to $url = $this->base_url . '/c2b/v2/simulate'; But still cant work the same error @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

Originally posted by @gathuku in https://github.com/gathuku/laravel_mpesa/issues/28#issuecomment-1227017597

Wesley-Sinde avatar Oct 17 '22 06:10 Wesley-Sinde