• Resolved mtsf

    (@mtsf)


    Hello, there is a call to the endpoint payment method every minute and several times per minute on our website, this causes the CPU limit to be reached out and site with errors.
    Is there anybody nows how to solve this?

    The info showns on our error_log, example on 1 minute:

    [31-Jul-2024 16:36:26 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:26 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:26 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:26 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:26 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:27 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:28 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:37 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:37 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:38 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:38 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:38 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:39 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:59 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:59 UTC] add_payment_methods_endpoint called
    [31-Jul-2024 16:36:59 UTC] add_payment_methods_endpoint called

Viewing 1 replies (of 1 total)
  • Hey there, @mtsf! Thanks for contacting us. I’m happy to help you.

    This is not expected behavior, let’s investigate to find out what is going on.

    We first need to figure out what is calling it.

    Can you please run a conflict test to see if something external is interfering with this?

    To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.

    If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

    — Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    — It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.

    You can find more about this in this guide.

    Please let us know about your findings.

    Have a wonderful day!

Viewing 1 replies (of 1 total)

The topic ‘endpoint called every minute’ is closed to new replies.