<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Opencart Архиви - rosen4o.net</title>
	<atom:link href="https://rosen4o.net/category/opencart/feed/" rel="self" type="application/rss+xml" />
	<link>https://rosen4o.net/category/opencart/</link>
	<description></description>
	<lastBuildDate>Wed, 12 Feb 2025 15:49:51 +0000</lastBuildDate>
	<language>bg-BG</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Opencart losing cart on redirect after payment</title>
		<link>https://rosen4o.net/2025/02/12/opencart-losing-cart-on-redirect-after-payment/</link>
					<comments>https://rosen4o.net/2025/02/12/opencart-losing-cart-on-redirect-after-payment/#respond</comments>
		
		<dc:creator><![CDATA[rosen4o]]></dc:creator>
		<pubDate>Wed, 12 Feb 2025 15:41:46 +0000</pubDate>
				<category><![CDATA[Opencart]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[opencart]]></category>
		<category><![CDATA[session]]></category>
		<guid isPermaLink="false">https://rosen4o.net/?p=1173</guid>

					<description><![CDATA[<p>Opencart has issue with Samesite session cookie which can be resolved in OC version 2.X by adding those two lines code There is a lot of info about PHP example for SameSite=None; Secure https://github.com/GoogleChromeLabs/samesite-examples/blob/master/php.md Or even in the OpenCart forums</p>
<p>Материалът <a href="https://rosen4o.net/2025/02/12/opencart-losing-cart-on-redirect-after-payment/">Opencart losing cart on redirect after payment</a> е публикуван за пръв път на <a href="https://rosen4o.net">rosen4o.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Opencart has issue with Samesite session cookie which can be resolved in OC version 2.X by adding those two lines code</p>



<pre class="wp-block-code"><code>if(isset($_COOKIE&#91;"PHPSESSID"])){
    header('Set-Cookie: PHPSESSID='.$_COOKIE&#91;"PHPSESSID"].'; SameSite=None');
}
</code></pre>



<p>There is a lot of info about PHP example for SameSite=None; Secure</p>



<p><a href="https://github.com/GoogleChromeLabs/samesite-examples/blob/master/php.md">https://github.com/GoogleChromeLabs/samesite-examples/blob/master/php.md</a></p>



<p>Or even in the OpenCart forums</p>
<p>Материалът <a href="https://rosen4o.net/2025/02/12/opencart-losing-cart-on-redirect-after-payment/">Opencart losing cart on redirect after payment</a> е публикуван за пръв път на <a href="https://rosen4o.net">rosen4o.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rosen4o.net/2025/02/12/opencart-losing-cart-on-redirect-after-payment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
