Accept African mobile money from Laravel.

U
Ultraner Ultraner
@ultraner · 5d
0 views·0 answers

Accept African mobile money from Laravel.

composer require ultraner/sdk

Why Laravel gets its own page: Laravel applies CSRF middleware to every POST route, so a webhook is rejected before it reaches your controller.

The mistake to avoid: Add the webhook path to the CSRF exception list, and use $request->getContent() for the raw body. $request->all() has already parsed it.

The full Laravel integration: https://ultraner.com/frameworks/laravel

Accept African mobile money from Laravel.
0

No answers yet

Nobody has answered this one. If you know, you are the person who ends somebody's bad afternoon.