Payments and orders
This chapter shows what your customers see at checkout, how the order status is set, and how to capture and refund payments from the OpenCart order page.
At checkout: embedded form
With Redirect to Authorize.Net off:
- The customer chooses Credit Card / Debit Card (Authorize.Net) in the checkout.
- The payment step shows a loading message, then the Authorize.net form inside the page. The form shows the order with your store name, and asks for the card details, including the security code, or for the bank-account details if eCheck is enabled.
- The customer presses Pay in the form.
- The extension checks the transaction with Authorize.net, records it on the order and takes the customer to the order success page.
If the embedded form cannot communicate with your page, for example because of a browser or theme restriction, the extension switches to the redirect method automatically.
At checkout: redirect
With Redirect to Authorize.Net on:
- The payment step shows the Pay and Confirm Order button.
- The customer is sent to the Authorize.net payment page and pays there.
- Authorize.net returns the customer to your store's order success page.
- The webhook confirms the order a moment later. See Webhook.
What the customer sees when something fails
The customer stays in the checkout and sees a message beginning with Payment Error, for example that the payment was declined by the bank. The order is not confirmed and the customer can try again.
If the order total is zero, for example while a one-page checkout is still updating its totals, the payment step shows Payment is not ready because the order total is zero. Please wait for checkout totals to finish updating.
If Authorize.net cannot start the form, the payment step shows an error instead of the form. On OpenCart 1.5 to 3.x the message is Authorize.Net could not start the secure payment form. Please verify the payment configuration or try again. or the reason given by Authorize.net. Check your credentials and Transaction Currency.
How the order status is set
| Result | Order status | History comment |
|---|---|---|
| Payment approved and captured | Paid Order Status | The transaction ID, authorisation code, AVS response and the last four digits of the card, or the eCheck account details |
| Authorisation approved, capture pending | Held / Review Order Status | The same details |
| Payment held for review by Authorize.net | Held / Review Order Status | The same details |
| Amount different from the order total | Held / Review Order Status | A warning PAYMENT AMOUNT MISMATCH with the authorised and the expected amount, followed by the details |
The amount check compares the amount authorised by Authorize.net with the current order total in the Transaction Currency. Any difference from one cent upwards puts the order on hold.
The status comments are added without notifying the customer.
Capturing an authorisation
When Transaction Method is set to authorisation only, the amount is reserved but not charged, and the order keeps the Held / Review Order Status until you capture it. Capture it when you are ready to ship:
- Open the order in Sales > Orders.
- On OpenCart 1.5 to 3.x, find the Authorize.Net Accept Hosted panel, which shows the transaction ID and amount, and press Capture Authorize.Net payment. On OpenCart 4, press Authorize.NET Capture Payment next to the payment method.
- Confirm. The full authorised amount is captured, a comment with the capture transaction ID is added to the order history and the order receives the Paid Order Status. The payment can then be refunded from the same page.
Refunding a payment
For a captured payment, whether captured at checkout or from the order page, the order page shows the refund button instead, with the amount to refund:
- Open the order in Sales > Orders.
- Check the amount next to the button. It shows the amount not yet refunded; keep it for a full refund or enter a smaller amount for a partial refund.
- Press Refund Authorize.Net payment (OpenCart 1.5 to 3.x) or Authorize.NET Refund (OpenCart 4).
- Confirm. The extension refunds that amount through Authorize.net and adds a comment with the amount to the order history. When the whole payment has been refunded, the order receives the Refunded Order Status; after a partial refund it keeps its status, and the button offers the rest.
Points to know:
- You can refund several times, up to the amount of the payment. A higher amount is refused before anything is sent to Authorize.net.
- If Authorize.net refuses the refund, its reason is shown on the order page and nothing changes in the order.
- Authorize.net refunds only settled transactions, usually the day after the payment. Before that, it refuses the refund with its reason.
- Your user needs modify permission for the extension to capture or refund.
eCheck payments
eCheck payments are recorded like card payments, with the account details instead of the card digits in the order history. The bank-account option appears in the form only when eCheck is on in the settings and eCheck is enabled on your Authorize.net merchant account.
Still need help?
Open a support ticket from your account and our team will look at your store with you.