stripe/react-stripe-js

[BUG]: Cookie without Consent

Closed this issue · 1 comments

What happened?

Hello! Still about this issue #367 I do see a 3rd party cookie being set like in the image (in red):

image

I'm using the https://www.cookiemetrix.com/ to analyze my website.

I would like to know how to prevent Stripe to store this cookie before user consent ?

Thank you!

Environment

Production

Reproduction

No response

You can optionally disable some additional advanced fraud related cookies as described here: https://docs.stripe.com/disputes/prevention/advanced-fraud-detection#disable-advanced-fraud-detection

Note that some cookies are required for Stripe.js functionality as described in the previous issue.

You can read more about Stripe's cookie policy here: https://stripe.com/legal/cookies-policy