alijumaan / laravel-ecommerce

144 stars 71 forks source link

Help, webhook parameters error with different payment gateway #22

Closed bopclic closed 2 years ago

bopclic commented 2 years ago

I'm trying to implement the flutterwave payment gateway, most steps are successful apart from the error below which appears once payment is either cancelled or successful instead of redirecting to home route with a toast message and so on . I have screenshots attached.

ArgumentCountError Too few arguments to function App\Http\Controllers\Frontend\Payment\FlutterwaveController::webhook(), 0 passed in C:\xampp\htdocs\minishop\vendor\laravel\framework\src\Illuminate\Routing\Controller.php on line 54 and exactly 2 expected

ROUTES routes

PAYMENT BUTTON blades

CONTROLLER controllers