Understanding Payment Processing States and Errors
This article explains what happens during payment processing and how to handle common issues.
Payment Processing Flow
When you submit a payment, the system goes through these steps:
- Validation — The system checks that there is a balance due and the invoice is not cancelled
- UI Lock — All action buttons are disabled and a progress indicator appears
- Payment Submission — The payment is sent to the processor (for card payments) or recorded immediately (for cash)
- Invoice Save — If this is a new sale, the invoice and all items are saved to the database
- Payment Recording — The payment amount and method are logged
- Balance Update — The machine's running balance for that payment type is updated
- History Logging — A record is added to the invoice history
- Email Prompt — If a customer is attached with an email, you're asked if you want to send a receipt
- Reset — The screen clears for the next customer
Cancelling a Payment in Progress
If a card payment is taking too long or you need to cancel:
- Press Escape during the "Processing" state
- A confirmation dialog asks if you want to cancel
- If you confirm, the payment is cancelled
- No payment is recorded
- The UI unlocks and you can try again
Important: Pressing Escape only works during the processing phase. Once the payment is approved by the processor, it cannot be cancelled — you would need to process a refund instead.
Common Payment Errors
| Error | What It Means | What to Do |
|---|---|---|
| Card Declined | The customer's bank rejected the card | Ask the customer for a different card or payment method |
| Connection Timeout | The payment terminal didn't respond | Check the terminal connection, then try again |
| Insufficient Funds | The card doesn't have enough balance | Ask the customer for a different payment method or split the payment |
| No Balance Due | The invoice is already fully paid | No payment needed — check the totals panel |
| Invoice Cancelled | The invoice has been voided | Start a new sale instead |
| Processor Error | The payment processor returned an error | Note the error message, check internet connection, and retry |
UI Recovery
If the POS screen appears to be frozen or buttons are unresponsive after a payment error:
- Press Ctrl+Alt+R — This is the Emergency UI Restore shortcut
- All buttons are re-enabled
- The progress indicator is cleared
- You can continue operating normally
If that doesn't work:
- Go to Action Menu → Restart POS Screen
- The POS reloads from scratch
- Any unsaved sale will be lost, but all saved transactions are safe
Invoice States After Payment
| State | Meaning |
|---|---|
| Unpaid | No payments have been made (balance = full amount) |
| Partially Paid | Some payment has been made but balance remains |
| Paid | The full amount has been collected (balance = $0.00) |
| Credit | The customer has overpaid (balance is negative — shown in green) |