real middleman: BTCPay payment gate + webhook + Printful adapter + checkout redirect
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user