{"id":8045,"date":"2020-04-06T14:44:18","date_gmt":"2020-04-06T12:44:18","guid":{"rendered":"https:\/\/www.combell.com\/en\/blog\/?p=8045"},"modified":"2020-04-14T14:46:30","modified_gmt":"2020-04-14T12:46:30","slug":"warning-google-chrome-80-may-cause-problems-with-online-payments","status":"publish","type":"post","link":"https:\/\/www.combell.com\/en\/blog\/warning-google-chrome-80-may-cause-problems-with-online-payments\/","title":{"rendered":"Warning: Google Chrome 80 may cause problems with online payments"},"content":{"rendered":"<p>If you have a website that allows you to receive payments online and this has sometimes failed to work properly for your users over the last few weeks, it could be due to a recent change in Google Chrome, more specifically <strong>when<\/strong> <strong>passing<\/strong> <strong>the SameSite cookie in Google Chrome 80<\/strong>. This change sometimes causes problems with online payments, and we experienced this as well.<\/p>\n<p><strong>Google has put the change on hold for the time being<\/strong>, but we recommend that you prepare for this change now. 6 so that you do not have to do any research.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Problems with online payments<\/strong><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-8047\" title=\"SameSite cookie causes problems with online payments\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/SameSite-cookie-causes-problems-with-online-payments.png\" alt=\"SameSite cookie causes problems with online payments\" width=\"150\" height=\"142\" \/>Google is implementing an increasing number of measures in its Chrome browser to protect the privacy of Internet users. For example, it wants to ensure that your web activity is not tracked through the use of cookies. In version 80 of the Chrome browser, <a href=\"https:\/\/www.troyhunt.com\/promiscuous-cookies-and-their-impending-death-via-the-samesite-policy\/\" target=\"_blank\" rel=\"noopener noreferrer\">a change was made to this effect for the passing of the 'SameSite' cookie<\/a>, and it was rolled out on a limited scale \u2013 with the intention of gradually installing it for all users, and later for other Chrome-based browsers as well.<\/p>\n<p>This well-intentioned change, however, also had unwanted consequences, as we at Combell have noticed. Because, <strong>under certain circumstances, the cookie is not sent to the payment module used by a website, resulting in the impossibility to process the payment<\/strong>. As a result, some orders placed by our customers via a Chrome 80 browser did not go through, because they were not confirmed by the payment module. If you have not received a confirmation e-mail from us regarding your order, please contact us immediately.<\/p>\n<p>As soon as we became aware of this problem, we rolled out an internal fix. Meanwhile, Google has also announced that <a href=\"https:\/\/blog.chromium.org\/2020\/04\/temporarily-rolling-back-samesite.html\" target=\"_blank\" rel=\"noopener noreferrer\">it will roll back this change<\/a>, in order to avoid further complications in the midst of the COVID-19 crisis. But all signs suggest that this SameSite change will be implemented at a later date \u2013 Google plans to resume the process this summer. It is therefore crucial that you know what the problem actually is and how you can solve it. We are happy to share our findings with you.<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p>Google has put the change on hold for the time being, but we recommend that you prepare for this change now.<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h2><strong>SameSite cookie in Google Chrome 80: the technical explanation<\/strong><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-8048\" title=\"Fix for SameSite cookie Google Chrome\" src=\"https:\/\/www.combell.com\/en\/blog\/files\/Fix-for-SameSite-cookie-Google-Chrome.png\" alt=\"Fix for SameSite cookie Google Chrome\" width=\"175\" height=\"118\" \/>A cookie has a SameSite attribute, which allows you to specify when certain cookies may be sent along with a request to a next page \u2013 for example, from your website to the payment module provided by your payment service provider. Until recently, you were not required to specify its value, and the browser simply ignored this attribute.<\/p>\n<p>From Chrome 80 onwards, however, this value is actually used. And if the cookie does not specify this attribute, or if the attribute is left blank, then \"Lax\" is used. This means that the cookie is only sent when navigating within the same domain. If the request comes from another domain, such as that of your payment service provider, the cookie will not be passed, causing unexpected behaviour.<\/p>\n<p><strong>The simplest solution is to use a SameSite attribute on the cookie, with a value set to \"None\"<\/strong>, although this only works if the request involves a secure HTTPS connection. Please note that old browsers do not support the new \"None\" value, which means that cookies can be ignored in this case. For a clear overview, please visit this page: <a href=\"https:\/\/caniuse.com\/#search=samesite\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/caniuse.com\/#search=samesite.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>More information can be found here:<\/p>\n<ul>\n<li><a href=\"https:\/\/web.dev\/samesite-cookies-explained\/\" target=\"_blank\" rel=\"noopener noreferrer\">Information about the SameSite attribute<\/a><\/li>\n<li><a href=\"https:\/\/www.chromium.org\/updates\/same-site\" target=\"_blank\" rel=\"noopener noreferrer\">Google Chrome updates<\/a><\/li>\n<li><a href=\"https:\/\/blog.mozilla.org\/security\/2018\/04\/24\/same-site-cookies-in-firefox-60\/\" target=\"_blank\" rel=\"noopener noreferrer\">SameSite in Firefox<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoft-edge\/web-platform\/site-impacting-changes\" target=\"_blank\" rel=\"noopener noreferrer\">SameSite in Edge<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Veriteworks\/CookieFix\" target=\"_blank\" rel=\"noopener noreferrer\">Unofficial cookie fix in Magento 2.2\/2.3<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magento\/magento2\/issues\/26377\" target=\"_blank\" rel=\"noopener noreferrer\">Magento Github issue<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>If you have any questions, our specialists will be pleased to provide you with further technical information.<a href=\"https:\/\/www.combell.com\/en\/support\"> As usual, our collaborators are available to give you all the advice you need.<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have a website that allows you to receive payments online and this has sometimes failed to work properly for your users over the last few weeks, it could...<\/p>\n","protected":false},"author":1,"featured_media":8046,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[66,331,71],"tags":[8,135],"acf":[],"uagb_featured_image_src":{"full":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie.jpg",1200,420,false],"thumbnail":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-50x50.jpg",50,50,true],"medium":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-300x105.jpg",300,105,true],"medium_large":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-768x269.jpg",768,269,true],"large":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-1024x358.jpg",1024,358,true],"1536x1536":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie.jpg",1200,420,false],"2048x2048":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie.jpg",1200,420,false],"post-featured":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-850x290.jpg",850,290,true],"post-featured-opt":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-750x256.jpg",750,256,true],"post-featured-opt-md":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-850x290.jpg",850,290,true],"post-featured-opt-sm":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-485x165.jpg",485,165,true],"post-featured-opt-xs":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-375x128.jpg",375,128,true],"post-most-popular":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-50x50.jpg",50,50,true],"post-author":["https:\/\/www.combell.com\/en\/blog\/files\/Google-Chrome-80-SameSite-cookie-60x60.jpg",60,60,true]},"uagb_author_info":{"display_name":"Combell","author_link":"https:\/\/www.combell.com\/en\/blog\/author\/blogadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"If you have a website that allows you to receive payments online and this has sometimes failed to work properly for your users over the last few weeks, it could...","_links":{"self":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts\/8045"}],"collection":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/comments?post=8045"}],"version-history":[{"count":3,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts\/8045\/revisions"}],"predecessor-version":[{"id":8052,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/posts\/8045\/revisions\/8052"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/media\/8046"}],"wp:attachment":[{"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/media?parent=8045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/categories?post=8045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.combell.com\/en\/blog\/wp-json\/wp\/v2\/tags?post=8045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}