• Resolved ahadimul

    (@ahadimul)


    Hi there, this doesn’t happen for all orders but we’re trying to determine the root cause of these error messages. Is it from the visitor or is it woocommerce or the payment gateway? If someones can please provide some insight.

    Below is the error message

    “There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.”

    The strange this is that the order actually went through and got created in woocommerce. But the visitor doesn’t know that and tries to re-submit the order and in the end 2 orders got created.

    Note: I did check into our payment logs and I don’t see any issues there as well, so….at this point i’m thinking this must be a woocommerce intermittent bug??

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @ahadimul ,

    Thanks for sharing the details. A few things to check:

    1. Are there any errors in the server or WooCommerce logs around the time these orders happen?
    2. Which payment gateway is being used? Sometimes gateways return a success after a timeout, causing this duplicate issue.
    3. Are there caching or security plugins active that might be interfering with the order confirmation page?

    A quick test would be to place a few test orders and watch the logs in real time. That usually helps narrow down if it’s WooCommerce, the gateway, or something else.

    Thread Starter ahadimul

    (@ahadimul)

    Thanks for the reply.

    Other orders are coming through fine — this doesn’t happen to all orders. It’s random which makes it difficult to troubleshoot the root cause.

    We’re using the paypal Advanced card processing gateway.

    I checked the paypal logs, no errors found as well

    We do use cloudflare as our CDN for caching the site content

    Hi @ahadimul,

    Based on what you have shared, this pattern is most commonly related to the payment gateway response timing rather than a WooCommerce core bug. With PayPal Advanced card processing, it is possible for the payment to be completed on the gateway side, while the response back to WooCommerce times out or is interrupted. When that happens, WooCommerce shows the generic error message even though the order is already created, which can lead customers to retry and create duplicate orders.

    Since Cloudflare is in use, I recommend double checking that checkout and order received endpoints are excluded from caching and performance features. Cloudflare can sometimes interfere with redirect or webhook responses if those pages are cached or optimized. Pay particular attention to the checkout page, the order received page, and any PayPal return or webhook URLs.

    It would also help to review the WooCommerce logs around the exact time this happens, especially logs related to PayPal or checkout. You can find guidance on accessing and reviewing WooCommerce logs here: https://woocommerce.com/document/finding-php-error-logs/.

    If the issue continues, I recommend reaching out directly to PayPal support for Advanced card processing and sharing timestamps of affected orders, as they can confirm whether delayed or partial responses are occurring on their side.

    Let us know what you find after checking the Cloudflare exclusions and logs, and we can take a closer look from there.

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    Since there’s been no recent activity on this thread, I’m marking it as resolved. Don’t hesitate to start a new thread if you need help in the future.

    Your feedback helps others – please consider leaving a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.