When the payment is successful, the return page cannot find it.

An example: checkout/163/payment/return/k_mc-YBZI2WdNQGs-yF0ZPu6gTIydrSiWHWZBnmuZQc

Comments

miltondiaz created an issue. See original summary.

miltondiaz’s picture

The problem was detected.

The reason was that Chrome since the version 80.1 add a new security policy related with the attribute "Samesite" and the transfer of cookies between tho websites. The function afected was "getTransactionResult".

The workaround for avoid the error was add to the settings.php

ini_set('session.cookie_path', '/; samesite=None');

For more details: https://www.asesora2.cl/servicios/img/cms/GoogleChromeV2-0.pdf

Please test the solution and try to find a way to keep it inside of the module. Thank you.

mnico’s picture

Status: Active » Closed (won't fix)
Related issues: +#3150614: Set SameSite on session cookies

This should be fixed by the core or by doing what you propose in the settings.php. This problem is present in other payment methods and properly defining the SameSite=None attribute finally helps.