• Resolved mammadz

    (@mammadz)


    I’m in the process of optimizing my pages to boost performance. One of the things I’m looking at is to reduce the number of external requests. I noticed that in my single product page, I’m getting 12 fetch requests to stripe.com. I get 10 fetches to r.stripe.com/0 and 2 to m.stripe.com/6.

    I have not enabled any stripe functionality on my single product pages; i.e., I do not have express checkout enabled on this page. So, seems to me there’s no reason to for these fetches. Is there any way to disable stripe from single pages completely?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @mammadz ,

    If I understand correctly, you’ve found that the Stripe extension is creating requests on the single product page even when express checkout is disabled, right?

    I can see that Stripe version 5.8.1 has fixed the problem according to the changelog:

    
    = 5.8.1 - 2021-11-23 =
    * Fix - Run filters that disable Stripe JS on cart and product pages when PRBs are disabled.
    

    Can you please let me know which version of the Stripe extension you are currently using?

    It will be great if you could share your current System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Depending on what we find in the items above we might request additional troubleshooting steps/details OR redirect you to a more appropriate support platform but let’s cross that bridge when we get there.

    Thread Starter mammadz

    (@mammadz)

    Hi Rashed, I’m running the latest greatest version 6.4.3 and all other plugins. I’m seeing these external fetches on my product pages even when express checkout is disabled on those pages. I’m also seeing cookies being set (__stripe_*) on these pages which is causing a related performance problem (bypassing the cache).

    You can check it yourself on the link provided. Thanks.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @mammadz

    As far as I know Stripe requires that the files are loaded on as many pages as possible in attempt to help combat fraud. Are you by any chance using the payment request buttons (Apple Pay/Google Pay) ? If not, we did provide a fix some time ago to not load Stripe JS on product pages when PRBs are disabled, and to not load Stripe JS on the cart page when PRBs are disabled.You can see that, along with the new filters here:

    https://github.com/woocommerce/woocommerce-gateway-stripe/pull/2110

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Extraneous [rm].stripe.com/[06] fetches on single product page’ is closed to new replies.