verify csrf token
This commit is contained in:
@@ -11,7 +11,5 @@ class VerifyCsrfToken extends Middleware
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $except = [
|
||||
'stripe/webhook',
|
||||
];
|
||||
protected $except = ['/stripe/webhook'];
|
||||
}
|
||||
|
||||
@@ -223,8 +223,7 @@ Route::group(['middleware' => ['checkStatus']], function () {
|
||||
|
||||
// Route::middleware(['checkToken'])->group(function () {
|
||||
Route::get('list-of-plans', [SubscriptionController::class, 'listOfProduct'])->name('list-of-products');
|
||||
|
||||
|
||||
|
||||
// });
|
||||
Route::post('subscribe-to-plan', [SubscriptionController::class, 'subscriptionToPlan'])->name('subscribe-to-plan');
|
||||
Route::get('thank-you', [SubscriptionController::class, 'thankyou'])->name('thankyou');
|
||||
|
||||
Reference in New Issue
Block a user