laravel paytm after pyment logout code example

Example 1: paytm gateway logout after callback laravel 7

#### Laravel 7 Changes
Our package is comptible with Laravel 7 but same_site setting is changed in 
default Laravel installation, make sure you change `same_site` to `null` in 
`config/session.php` or callback wont include cookies and you will be logged 
out when a payment is completed. So inside your `config/session.php` update

return [
  ...
  ...
  'same_site' => null,
  ...
  ...
];

Example 2: paygate logout session on callback laravel

Paygate payment Gateway issue of logout after gateway callback can be solved
by updating 'secure' to false and 'same_site' to null inside 
`config/session.php`

Tags:

Php Example