logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
rogerg1967  
#1 Posted : Wednesday, April 1, 2020 1:20:52 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 60
United Kingdom
Location: Highworth

Thanks: 3 times
We are having a problem on Chrome when adding to basket as an anonymous user. We get nothing added to the cart. Works fine on FireFox and on Chrome when logged in.
Only thing we can see if that we get a cartid cookie of 0 when entering the site.
leedavi  
#2 Posted : Wednesday, April 1, 2020 1:51:42 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 355
United Kingdom
Location: France

Was thanked: 29 time(s) in 29 post(s)
OK, this sounds like a cookie or JS problem. Not heared about it before.

First thing to try is Ctrl + F5 in the browser to load latest JS.

What version of OpenStore ?
What version of DNN ?
rogerg1967  
#3 Posted : Wednesday, April 1, 2020 1:58:10 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 60
United Kingdom
Location: Highworth

Thanks: 3 times
CTRL F5 is not helping
We are runing the following versions
OpenStore 4.1.3
DNN 9.3.2

We think it has something to do with cookies but not sure.
leedavi  
#4 Posted : Wednesday, April 1, 2020 2:46:52 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 355
United Kingdom
Location: France

Was thanked: 29 time(s) in 29 post(s)
I can't remember any problems related to this. but we did do an upgrade. to v4.1.3.1

Are you using that one?

https://github.com/opens...tore/releases/tag/v4.1.3

there are a few changes linked to cart.

https://github.com/opens.../compare/v4.1.3...master

I've tried on a dev site and I have the same, with this error.

A cookie associated with a resource at http://dcl.biocausse.fr/ was set with `SameSite=None` but without `Secure`. It has been blocked, as Chrome now only delivers cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus...eature/5633521622188032.

However, I have tried on another site, on another computer, and it worked. So it could be my dev setup issue. https://blog.chromium.or...s-get-ready-for-new.html

I think it might be linked to a chrome upgrade, I'm trying to verify that.





leedavi  
#5 Posted : Wednesday, April 1, 2020 3:10:23 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 355
United Kingdom
Location: France

Was thanked: 29 time(s) in 29 post(s)
Yes, I've tested v4.1.0 and it is the same. I'm fairly sure this is a chrome security upgrade.

I'm unsure how to fix at the moment, looks like we need to define SameSite='none'.

I'm stuck in some work that I need to finish before I can look at this. If you find the solution, please let me know and I'll update the release.
rogerg1967  
#6 Posted : Friday, April 3, 2020 1:15:49 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 60
United Kingdom
Location: Highworth

Thanks: 3 times
Hi,
Can i confirm if you have made any progress with the chrome issue adding to cart? I have the live site and it is having an impact.
Please advise.

Roger
leedavi  
#7 Posted : Friday, April 3, 2020 1:38:28 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 355
United Kingdom
Location: France

Was thanked: 29 time(s) in 29 post(s)
Hi, Sorry I didn't get back to you.

I saw the problem on a development site. I added a SSL cert today and it started working, so it looks like chrome is adding an extra security level. Add a SSL certifcate and it should start working.


rogerg1967  
#8 Posted : Friday, April 3, 2020 2:26:06 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 60
United Kingdom
Location: Highworth

Thanks: 3 times
We already have an ssl certificate on the site. It still looks like there is an issue with the cookies on some chrome browsers. As i say this only impacts some and not all computers.
rogerg1967  
#9 Posted : Friday, April 3, 2020 2:45:48 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 60
United Kingdom
Location: Highworth

Thanks: 3 times
Hi,
I have been testing the add to cart on both a chrome working and not working. Looking at the console > application > cookies I can see that the one not working is trying to use http on the nbrightbuycart and https on the one which is working.

How is this defined? how can I make sure it always uses https?
These 2 lionks show a screen grab of each.
http
https
leedavi  
#10 Posted : Sunday, April 5, 2020 6:13:50 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 355
United Kingdom
Location: France

Was thanked: 29 time(s) in 29 post(s)
OK I've added a "lax" option for the cookie, please let me know it works. All my SSL install work, so please let me know if it works on your systems.

https://github.com/opens...tore/releases/tag/v4.1.3

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.069 seconds.