real middleman: BTCPay payment gate + webhook + Printful adapter + checkout redirect

This commit is contained in:
drjones
2026-08-26 16:52:04 -07:00
parent f2482c72fb
commit 3037f3c996
11 changed files with 242 additions and 10 deletions

View File

@@ -110,7 +110,7 @@ def route_order(db, order):
db.commit()
return {"routed": False, "reason": "no eligible supplier for any item"}
order.status = "confirmed"
order.status = "pending_payment"
db.commit()
return {
"routed": True,