Skip to content
OpenCart · User manual

Authorize.net Accept Hosted

Version 1.3.9 Product page
Chapter 7

Debug and logs

The Debug - Log tab turns on two kinds of logging and lets you read the diagnostic payment log by order. Use them while you investigate a problem, then turn them off.

Logging Settings

SettingWhat it does
Enable DebugWrites technical information about the requests to Authorize.net and their answers, and about received webhooks. Use it only while troubleshooting.
Enable diagnostic payment logRecords, for each payment attempt, the amount and currency sent to Authorize.net, the cart and order-total lines, the currency values and the verified transaction details. Credentials and payment-account data are never recorded.

Press Apply changes after changing either setting.

Where the files are

All files are written to the logs folder of OpenCart (system/storage/logs/ on most installations, system/logs/ on OpenCart 1.5).

FileWritten by
The OpenCart error logEnable Debug on OpenCart 1.5 to 3.x. Read it in System > Maintenance > Error Logs (OpenCart 2.x and 3.x) or System > Error Logs (OpenCart 1.5).
authnet_ah_payment.log and authnet_ah_webhook.logEnable Debug on OpenCart 4: payment requests and answers, and webhook checks. Download them by FTP.
authorize_net_ah_diagnostic.logEnable diagnostic payment log, on every version. Read it on this tab.

Diagnostic Payment Log

This section shows the content of the diagnostic payment log.

ControlWhat it does
Order IDEnter an order number to see only the entries of that order. Leave it empty (All orders) to see everything.
FilterApplies the order number.
Refresh logReads the log again, for example after a new test payment.
Clear logDeletes the diagnostic log file. OpenCart 4 asks Clear diagnostic log? first.

When nothing has been recorded the section shows No diagnostic entries.

When to use each log

  • An order was placed on hold for an amount mismatch: turn on the diagnostic payment log, repeat the checkout and filter by the new order number. The entries show the amounts and totals at each step.
  • The payment form does not load, or an order is not confirmed: turn on Enable Debug and repeat the payment to see the answer of Authorize.net.
  • A webhook does not update orders: turn on Enable Debug and check whether the webhook arrives and why it is rejected, for example a missing or invalid Signature Key.

Still need help?

Open a support ticket from your account and our team will look at your store with you.