GithubHelp home page GithubHelp logo

Comments (4)

lstanford53 avatar lstanford53 commented on June 25, 2024

@negue Hello, I'd be willing to investigate this a bit and see what I can find. Could you let me know the page you were on when stripe and amazon pay were loaded? Was it the home page or another page?

from habitica.

CuriousMagpie avatar CuriousMagpie commented on June 25, 2024

Hi @lstanford53--let's get your other two PRs into production first before adding something else to your plate. The team also needs to do more investigation on this issue to determine the scope of the fix needed--it may be something we prefer to handle internally.

from habitica.

dsychin avatar dsychin commented on June 25, 2024

I'm not sure about Amazon pay but Stripe recommends adding their JS on all pages for fraud detection.

To best leverage Stripe’s advanced fraud functionality, include this script on every page, not just the checkout page. This allows Stripe to detect suspicious behavior that may be indicative of fraud as customers browse your website.

from habitica.

negue avatar negue commented on June 25, 2024

Sorry for the way to late response on this:

@negue Hello, I'd be willing to investigate this a bit and see what I can find. Could you let me know the page you were on when stripe and amazon pay were loaded? Was it the home page or another page?

the file that is always adding the scripts: client/src/lib/payment.js, sure those are at least marked as lazy, but I'd rather save some bytes for each site call 😬

I'm not sure about Amazon pay but Stripe recommends adding their JS on all pages for fraud detection.

To best leverage Stripe’s advanced fraud functionality, include this script on every page, not just the checkout page. This allows Stripe to detect suspicious behavior that may be indicative of fraud as customers browse your website.

Oh, thats good to know - we might need to investigate that further and see what Amazon recommends, maybe that one can be only used on the page it is actually used

We'll need to discuss this internally before continuing on this one

from habitica.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.