Viewing 10 replies - 1 through 10 (of 10 total)
  • anastas10s

    (@anastas10s)

    Hi there @webdados ??

    Why is the plugin doing so many GET and POST requests on regular, non-checkout, pages?

    Thanks for reaching out. Happy to help you with this!
    Linked directly here, you can find a related (closed) GitHub issue and here another (currently open) one.

    Regarding handling the resources differently, try the following snippet:

    add_filter( ‘wc_stripe_load_scripts_on_product_page_when_prbs_disabled’, ‘__return_false’ );
    add_filter( ‘wc_stripe_load_scripts_on_cart_page_when_prbs_disabled’, ‘__return_false’ );

    Code Snippets is a good choice of a plugin for loading the snippet mentioned above safely on a site.

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.

    Hi @anastas10s ,

    I have also spotted this issue today on my website. As I understand when I add the mentioned filters, the unnecessary requests to stripe API will disappear?

    Also – as I see that it is strictly connected with Stripe Fraud Protection feature – the Stripe account configuration should be additionally updated, or just adding these two filters will help and won’t affect users in any way?

    Igor H

    (@ihereira)

    Hello,

    @webdados In order to better understand this scenario, can you please provide the steps made on your end so that I can try to replicate the same steps on my site?

    Looking forward to hearing from you.

    Igor H

    (@ihereira)

    Hi, @dziudek

    Considering that each site is different, please create your own thread for your issue – https://www.ads-software.com/support/plugin/woocommerce-gateway-stripe/#new-topic-0.

    And please provide us with more details about the issue you are facing, we’ll be glad to help.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    @ihereira
    Nothing special:
    – Install WooCommerce
    – Install and configure Stripe credit card only (no express checkouts)
    – Have the product pages full of GET and POST requests to Stripe

    anastas10s

    (@anastas10s)

    Olá @webdados ??

    Thank you for clarifying. Also, I see you are already involved in the GitHub issue directly linked here.

    That should enable you to follow the issue’s updates, right there. Additionally, there are already reports of performance gains without issues.

    Kindly note that version 7.0.0 of the plugin was released a few hours ago.

    I hope that helps! If you have more questions, let us know. We’re happy to help.

    anastas10s

    (@anastas10s)

    @webdados Just wanted to add that while investigating on my test site, with the most recent version of WordPress and the plugin, the results I am seeing are the following:
    * GET requests: https://snipboard.io/Ww6GlY.jpg
    * POST requests: https://snipboard.io/xwdCYj.jpg

    I hope that helps!

    @anastas10s – searching by “get” / “post” phrase in the network tab will return nothing, because it most probably not exists in the domain name ?? Please look for “stripe”

    anastas10s

    (@anastas10s)

    Gotcha @dziudek, thanks for the tip ??

    Here are the results: https://snipboard.io/rq6Bb0.jpg
    Three (3) requests. Nothing excessive.

    Side note: the URL shown in the screenshot linked above is publicly accessible for another day or so.

    I hope that helps!

    Joey – a11n

    (@jricketts4)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Excessive GET and POST requests on non-checkout pages’ is closed to new replies.