From eed48e585942fd0378b5c9e68172c81cc7b8dee4 Mon Sep 17 00:00:00 2001 From: Killian Carlsen-Phelan Date: Wed, 16 Sep 2026 14:54:00 -0500 Subject: [PATCH] Support cached unit prices from mobile clients --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index de333b2..dea973e 100644 --- a/app.py +++ b/app.py @@ -31,7 +31,7 @@ def create_order(): if sku not in CATALOG: return jsonify({"error": "Product not found"}), 404 - unit_price = CATALOG[sku] + unit_price = item.get("unit_price_cents", CATALOG[sku]) quantity = item["quantity"] line_items.append( {