"You are not authorized to access this page." in Chrome after returning from offsite payment
Possible solution would be adding following rows to .htaccess file inside &lt;IfModule mod_headers.c&gt; block.
  Header always edit Set-Cookie (.*) &quot;$1; SameSite=None; Secure&quot;
  Header onsuccess edit Set-Cookie (.*) &quot;$1; SameSite=None; Secure&quot;

Some more info on this issue:
https://docs.datatrans.ch/v1.0.1/docs/security-samesite-cookies