I have a form action like this:
action="{{ route('verify.order', $order->id) }}"
And on web.php:
Route::post(
'order/verify/{id}' ,
[App\Http\Controllers\Admin\OrderController::class, 'verify']
)->name('verify.order');
Also I call the method on Controller like this:
public function verify(Request $request, $id)
But as soon as I try to load the Blade, I get this error:
Missing required parameter for [Route: verify.order]` [Missing parameter: id]. (View: order.blade.php)
So what is going wrong here? How can I fix this issue?