Wildhoney / Magento-on-Angular

Angular.js application using Magento as the backend API
360 stars 120 forks source link

Can't get basket on page refresh #103

Closed zontafil closed 9 years ago

zontafil commented 9 years ago

Hi,

When I add an item to the basket, the server send correctly the item, but when I make a call to /basket, the basket is empty.

I'm doing this as a non logged in user

zontafil commented 9 years ago

ok, cookies were ignored by the browser. I solved setting withCredentials in xhr requests in angular, and setting properly .htaccess to handle credentials