Hi iam trying to implement consent cookies banner for hydrogen,
i have implemented everything according to tips
just getting CORS error when trying to fetch
any ideas what could this cause ? iam trying from locahost, i have elso deployed it to test env, but the cors error persist.
Thanks for any ideas !
In the documentation it says that I had to start the checkout in my store and copy the domain.
But it was only when I set my PUBLIC_CHECKOUT_DOMAIN to the same as PUBLIC_STORE_DOMAIN, as you said, that I managed to get the privacy banner to work..
I have the latest version of Hydrogen… did I look in the wrong documentation?
Yes, problem with environment variables is most likely. Anyway, I’ve already checked that they are correct in the admin. Maybe I have a problem in my environment…
Let me know when you deploy.
Thanks for the reply and if you need anything just ask.