Skip to content
  • There are no suggestions because the search field is empty.

How to Find Your Transaction ID in Magento 2

Locate and analyze Magento 2 shipping transaction IDs using ShipperHQ Logger

Table of Contents

Overview

The ShipperHQ Magento extension comes with a comprehensive tool called the ShipperHQ Logger. 😊 This guide will show you how to configure the logger and use it to find valuable information about shipping rate quotes in Magento 2, including extracting the transaction ID.

Key Features

The logger provides:

  • A dedicated log panel within the admin without needing to open log files
  • Adjustable logging levels for more or less detail
  • Log options to the admin, file system, or via email

Additional functionalities include:

  • Asynchronous operation to minimize performance impact
  • Option to disable in production for zero performance effects
  • Periodic cron job to clear old logs from the database

Configuring the ShipperHQ Logger

  1. Go to Stores > Configuration > Advanced > ShipperHQ Logger.
  2. Under Logger Configuration, set Enabled to Yes.
  3. Set Minimum Log Level – Admin Panel to Debug.

    ShipperHQ Logger Configuration

  4. If "Extension(s) to log output from" is present, ensure Shipperhq_Shipper is set to Enabled. Otherwise, skip this step.
  5. Save the configuration changes.
  6. Go to Stores > Configuration > Sales > Shipping Methods > ShipperHQ.
  7. Set Debug = "Yes".
  8. Perform the request or test you are investigating.
  9. Go to System > ShipperHQ View Logs.
  10. Open the entry titled “Rate Request and Result”.

    ShipperHQ Log Viewer

Interpreting the Logs

Inside the logs, you'll find details about:

  • The rate request:

    Interpreting the Logs (1)

  • The response received:

    Interpreting the Logs (3)

Locating Transaction IDs

Providing a Transaction ID with your support request helps us resolve issues quicker. Let's look at two ways to find the Transaction ID:

Finding the Transaction ID from Order Details

  1. In your Magento Dashboard, navigate to Sales > Orders.
  2. Select the order you need the Transaction ID for.
  3. Scroll down the page within the order details. Under the order comments, find the Transaction ID (prefixed with “SHQ”, e.g., “SHQ202108101456ip10010033_7461458”).

    Example showing location of the Transaction ID on Magento order.

Finding the Transaction ID within the ShipperHQ Logs

  1. Scroll through your log until you find the field TransactionId within the response. Use the search feature like cmd-f (Mac) or ctrl-f (others) and type “transaction” to locate it.

    Transaction ID in Logs.

  2. Copy this number along with a description of your issue and send it to our support team. 📧
  3. Once finished, remember to disable the ShipperHQ logger following steps 2 and 3, and set Debug to No at step 7.

⚠️ Remember to turn the logger off to prevent slowing down your shipping rates.

Troubleshooting

"No detailed shipping information recorded"

This order comment may appear due to:

  • PayPal Express or other third-party checkouts: Such services can disrupt the standard Magento workflow, skipping events necessary to store order data.
  • Deleted data: If data was deleted or not captured, it cannot be recovered from the ShipperHQ table.
  • Not selecting a ShipperHQ method: Orders made with non-ShipperHQ methods or before ShipperHQ installation will lead to this comment.