cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9.2.3 : After successful Payment "Shopping Cart is Empty" Error

SOLVED

Re: Magento 1.9.2.3 : After successful Payment "Shopping Cart is Empty" Error

@jason_long 

 

I think you missed the below code changes in Cookie.php

 

setcookie($name, $value, $expire, $path.self::SAMESITE, $domain, $secure, $httponly);

  Please do the same as I mentioned in the previous posts.

Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!

Re: Magento 1.9.2.3 : After successful Payment "Shopping Cart is Empty" Error

How to do this for 2.3 ? This version has complete different file structure. Please help

Re: Magento 1.9.2.3 : After successful Payment "Shopping Cart is Empty" Error

Hi, i ve just applied your solution and begin to check results.

Please clarify: For file cookie.php you say about line 41 to replace. 

My file there is empty at that line. Did you mean to add your line there and have that result

const XML_PATH_COOKIE_DOMAIN = 'web/cookie/cookie_domain';
const XML_PATH_COOKIE_PATH = 'web/cookie/cookie_path';
const XML_PATH_COOKIE_LIFETIME = 'web/cookie/cookie_lifetime';
const XML_PATH_COOKIE_HTTPONLY = 'web/cookie/cookie_httponly';

const SAMESITE = ';samesite=None; Secure';

 

Is solution ok for php 5.6?

thank you

 

Re: Magento 1.9.2.3 : After successful Payment "Shopping Cart is Empty" Error

@Madhu Rajawat  it worked, Thanks