• Resolved Lee

    (@leecollings)


    It seems there is no native logging for orders (seeing what details are sent to the various payment gateways when an order is created).

    I’m trying to find a suitable free plugin to be able to see what information is being sent over with orders, can someone please give me recommendations?

    I need to be able to see details of the order object when it’s being created (it’s being sent to a custom payment gateway, but either way, I need to be able to see details of orders being created, and what’s being sent across, and the response if possible).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @leecollings

    I understand you want to see the details WooCommerce sends to your payment gateway when an order is created, along with the responses. No worries, I will point you in the right direction.

    WooCommerce itself doesn’t include native logging of order data sent to gateways. What you can do is check whether your payment gateway has a “Debug/Logging” option in WooCommerce → Settings → Payments → [Your Gateway]. Most official gateways support this, and the logs can then be viewed in WooCommerce → Status → Logs.

    For additional visibility, two free tools you may find useful are:

    Please note that we can’t provide or maintain custom code solutions for logging order data, but the plugins above are commonly used to achieve similar results without needing to build something custom. If you’re using a custom-built gateway, you may want to ask the developer to implement logging via WooCommerce’s logger (wc_get_logger()), so logs appear in the standard WooCommerce log section.

    Feel free to let us know how it goes, or if you run into any other problem.

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    Hi @leecollings,

    It’s been a bit since we last hear from you, so we’ll close this thread for now.

    If WooCommerce has been helpful for your business and you appreciated the support, we’d love it if you left us a short review here:
    https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

    You can always start a new topic if you ever need help again.

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

You must be logged in to reply to this topic.