fix(pos): clamp payment amount to total + allow 1c tolerance for rounding

This commit is contained in:
Deploy
2026-08-26 23:25:53 +02:00
parent be1f014260
commit 642fe037c2
4 changed files with 27 additions and 6 deletions

View File

@@ -8192,6 +8192,22 @@
},
"phase": "pos",
"completed_at": "2026-08-26T20:58:39Z"
},
{
"id": "POS-PAYMENT-OVERPAY-FIX",
"type": "bug",
"title": "POS selfpay: payments exceed total",
"description": "In selfpay flow, after selecting payment method the frontend reports payments exceed total. Investigate discrepancy between frontend totals.total and backend totalCents.",
"priority": "high",
"risk": "med",
"status": "in_progress",
"created_at": "2026-08-26",
"gates": {
"reviewer": false,
"security": false,
"qa": false
},
"phase": "pos"
}
]
}