1// go to App\Http\Middleware\verifyCsrfToken.php and add the route into except array
2
3<?php namespace App\Http\Middleware;
4
5use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
6
7class VerifyCsrfToken extends BaseVerifier
8{
9 protected $except = [
10 '/payment',
11 ];
12}
13