# PAYMENT511: More taken than the order owed

## What this means[​](#what-this-means "Direkter Link zu What this means")

The till took a payment larger than the balance your store was holding for this order, and the store refused to apply it. The attempt is kept on the order as a failed payment, so nothing is hidden.

Nothing was applied to the order, but the money is already in the drawer or on the customer's card. So two things have to happen: the difference goes back to the customer, and the part that was genuinely owed is recorded against the order from the money you are already holding.

This normally means the order changed somewhere else — another till, or WooCommerce itself — after this till last read it.

## Your data[​](#your-data "Direkter Link zu Your data")

Money moved, and your store did not apply it. The difference between what was taken and what the order owed is owed back to the customer.

## Troubleshoot[​](#troubleshoot "Direkter Link zu Troubleshoot")

**At the till** — do this before the customer leaves:

1. Do not ask the customer to pay again. The refused payment was never applied, but the money for it is already in your drawer or on their card.
2. Check what your store says the order owed — that figure is the correct one. The line in **Store health → Logs** usually says so, for example *"Order #… only had … outstanding; … was taken at the till"*; if it does not give the figure, the refreshed payment pane in step 3 does.
3. Before recording anything, refresh the order: open **Store health → Database**, open the **⋮** menu on the **Orders** row and choose **Check for changes now**, so the payment pane shows the store's balance.
4. Record that balance against the order from the money you already hold. This error only comes from record-only methods such as cash or a manually entered card: in the payment pane, choose that same method, tap **Exact …** (cash) or **Full balance …**, and take it. Never pick a card-terminal or gateway method for this — that starts a new charge. Take no new money from the customer.
5. Give the customer back the difference between what you took and what the order owed — cash from the drawer, or a refund of the difference on the card machine or in your payment provider's dashboard.

**On the store** — for the site administrator:

1. The refused attempt and its reason are in **Store health → Logs** on the till that took it; the order in **WooCommerce → Orders** shows only what the store accepted.
2. If this keeps happening on one order, something else is settling it at the same time — a second till, or an online payment landing while the order is open at the counter.

## Details[​](#details "Direkter Link zu Details")

* Code

  `PAYMENT511` (`PAYMENT_EXCEEDS_BALANCE`)

* Schweregrad

  error

* Eingeführt in

  WCPOS

  <!-- -->

  2.0.0
