From 9b94057bdcc0680b62ee7f573827eb1ce7c001f9 Mon Sep 17 00:00:00 2001 From: Abdulla Malik Date: Sun, 30 Jun 2024 23:52:30 +0600 Subject: [PATCH] add to doc an alternative way to resolve same_site issue --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7775291..523d5c9 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ protected $except = [ ### FAQ * Session is destroyed after redirecting to success/cancel/fail URL -> This is a general Laravel issue, **unrelated to SSLCommerz**. You can try setting 'same_site' => 'none' in your `config/session.php` file. +> This is a general Laravel issue, **unrelated to SSLCommerz**. You can try setting `'same_site' => 'none'` in your `config/session.php` file. Or you can create a middleware you can set `'same_site' => 'none'` using `Config::set('session.same_site', 'none');` for the SSLCommerz urls. * I am getting an error saying "Store Credential Error Or Store is Deactive"