real middleman: BTCPay payment gate + webhook + Printful adapter + checkout redirect
This commit is contained in:
@@ -77,9 +77,11 @@ CREATE TABLE orders (
|
||||
shipping_cost NUMERIC(12,2) DEFAULT 0,
|
||||
fees NUMERIC(12,2) DEFAULT 0,
|
||||
profit NUMERIC(12,2) DEFAULT 0,
|
||||
status TEXT NOT NULL DEFAULT 'new', -- new|paid|fraud_check|supplier_order|confirmed|shipped|delivered|cancelled|refunded
|
||||
status TEXT NOT NULL DEFAULT 'new', -- new|pending_payment|paid|fraud_check|supplier_order|confirmed|shipped|delivered|cancelled|refunded
|
||||
tracking TEXT,
|
||||
carrier TEXT,
|
||||
btcpay_invoice_id TEXT,
|
||||
supplier_order_ref TEXT,
|
||||
created_at TIMESTAMPTZ DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ DEFAULT now()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user