after login how to redirect on payment in laravel code example

Example: laravel logged out after redirecting from payment gateway

Laravel 7 Changes

Our package is compatible with Laravel 7 but the 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,
  ...
  ...
];

Tags:

Php Example