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.
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.