Jump to content

Why do Stripe files load on every page when not required?

Featured Replies

Posted

Commerce feedback

I installed the Stripe payments option for Commerce but I'm disappointed to find IPS loads multiple Stripe files on every page throughout the community, not just where actually needed such as inside a store or checkout page? They also get flagged for having various issues on GTMetrix which reduces your performance rating. If you have multiple payment options, would they all load unnecessarily on every page? 

Please could you install a check so they only load if and when required?

Many thanks.

 

47 minutes ago, The Old Man said:

Commerce feedback

I installed the Stripe payments option for Commerce but I'm disappointed to find IPS loads multiple Stripe files on every page throughout the community, not just where actually needed such as inside a store or checkout page? They also get flagged for having various issues on GTMetrix which reduces your performance rating. If you have multiple payment options, would they all load unnecessarily on every page? 

Please could you install a check so they only load if and when required?

Many thanks.

 

I noticed this EXACT same issue and was planning to ask the same question.

  • Community Expert

https://stripe.com/docs/stripe-js/reference#including-stripejs

Quote

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

 

  • Author

Thanks for the replies, much appreciated!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.