PAYMENT221: A payment couldn't be voided and is still held
Symptom: after Cancel payments, a red pop-up reads "A payment could not be voided, so that money is still held." with a Help button.
Do this now: tell the customer, before they leave, which payments were reversed and which are still held.
warning
The payment has been taken. Don't charge the customer again.
Fix it at the till
- Open the entry in Store health → Logs with Errors on. It names the payments still held.
- To try the void again, press Cancel payment, then Cancel payments.
- If a payment is still held: refund it from the order, or ask a manager to refund it in WooCommerce.
- Don't treat the sale as reversed until every named payment is voided or refunded.
Is anything lost?
The sale record isn't lost, but the named payments are still held on the customer's card or counted in the till, until they're returned by hand.
If it keeps happening
If voids keep failing, refund instead and tell whoever looks after your website. Your store answered with a refusal; this isn't a dropped connection.
For whoever looks after your website
- Open the order in WooCommerce → Orders and refund the named payments through your normal refund process.
- A card authorization that's never captured falls off the card by itself, but the bank sets when. Check before telling the customer it has gone.
Still stuck?
Send the log to support with the order number and the payments still held.
Code details for support
The entry carries the ids of the payments that couldn't be voided.