#Dara-stripe-js
1 messages · Page 1 of 1 (latest)
Hi 👋 we recommend adding Stripe JS to all of the pages in your site as it has some advanced fraud functionality included that helps us identify suspicious behavior. It isn't a requirement to do so though.
https://stripe.com/docs/disputes/prevention/advanced-fraud-detection
So if I want to do that, i should add this line "import '@stripe/stripe-js'" in App.js?
Sorry this is a very specific question bc i already import loadStripe in checkout page
Sorry, I'm not terribly familiar with React, please bear with me while I consult with my teammates.
Awesome! I'll wait for a clear answer as this is important. I have 3 websites that use Stripe
Thank you for your patience while I confirmed that information. We do recommend including Stripe JS at the root level, and you can do that via the approach that you mentioned:
i should add this line "import '@stripe/stripe-js'" in App.js
Great! Thanks for confirming! Have a nice weekend!