Troubleshooting
The most frequent problems with Authorize.net Accept Hosted, what causes them and how to fix them.
The payment method does not appear in the checkout
- Status must be on, and you must have pressed Apply changes.
- The order total must reach Minimum Total (OpenCart 4: Total).
- If a Geo Zone is selected, the customer's payment address must be inside it.
The payment form does not load
- Check Login ID and Transaction Key, and that Transaction Server matches them: sandbox credentials with Test, live credentials with Live.
- Check that Transaction Currency is the currency of your Authorize.net account.
- Check that at least one of Credit Card and eCheck is on.
- Turn on Enable Debug, reload the checkout and read the answer of Authorize.net in the log. See Debug and logs.
If the embedded form keeps loading, your theme or another extension may block the communication between the form and your page. The extension then switches to the redirect; if it does not, turn on Redirect to Authorize.Net and check the webhook.
The customer paid but the order is not confirmed
In redirect mode, and when the customer closes the browser in embedded mode, the order is confirmed by the webhook. Check:
- the Signature Key is set and is the one currently shown for your Authorize.net account;
- the webhook is active and points to your store: use Check webhook or Re-check (see Webhook);
- your store is reachable over HTTPS from the internet, and no firewall, maintenance mode or password protection blocks the file
devman_authorize_net_ah_webhook.php; - with Enable Debug on, the webhook log shows whether the notification arrives and why it is rejected.
After you fix the cause, confirm the affected orders by hand in Sales > Orders, after checking the payments in the Authorize.net Merchant Interface. In OpenCart, unconfirmed orders appear when you filter the list by Missing Orders.
The webhook cannot be created
- Read the message shown when you apply the changes: it gives the reason from Authorize.net.
- Check that Login ID and Transaction Key belong to the environment selected in Transaction Server.
- If it still fails, create the webhook by hand as described in Webhook.
An order is on hold with "PAYMENT AMOUNT MISMATCH"
The amount authorised by Authorize.net is not the current order total. Common causes:
- the order total changed after the payment form was opened, for example a one-page checkout that recalculated shipping or a coupon;
- the customer shopped in a currency other than the Transaction Currency, and the exchange rates of your store changed;
- the Transaction Currency is not the currency of your merchant account.
Compare the amounts in the order history comment with the transaction in Authorize.net, settle the difference with the customer, then change the order status by hand. To find the cause, turn on the diagnostic payment log and repeat a checkout.
The installation stops with a webhook file error
On OpenCart 1.5 to 3.x the message Unable to create or verify the webhook file in the store root means that the root folder is not writable by PHP, or that a different file named devman_authorize_net_ah_webhook.php already exists. Do not set permissions to 777. Open a support ticket so we can help you place the file.
Capture or refund fails
- The message from Authorize.net is shown on the order page. Read it before trying again.
- If Authorize.net refuses a refund, handle that transaction in the Authorize.net Merchant Interface and update the order status by hand.
- Your OpenCart user needs modify permission for the extension.
A message about cURL appears when opening the settings
Your server could not connect to devmanextensions.com to validate the licence. Ask your hosting provider to allow outgoing HTTPS connections and to enable the PHP cURL extension.
Getting help
Open a support ticket with your OpenCart version, the extension version, whether you use redirect or embedded mode, the order number and the relevant log entries.
Still need help?
Open a support ticket from your account and our team will look at your store with you.