<?php namespace App\Http\Middleware;  use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;  class VerifyCsrfToken extends BaseVerifier {   protected $except = [     // your laravel route as below     '/payment',   ]; } 

Read more of this post