From b99242feb2005397b359f6569e7415def0ee2581 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Mon, 23 Feb 2026 11:08:11 +0800 Subject: [PATCH] fix(order): add wallet deduction to payOrder and prevent duplicate submissions --- lib/policy/decision.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/policy/decision.ts b/lib/policy/decision.ts index 5b55296..cf9039d 100644 --- a/lib/policy/decision.ts +++ b/lib/policy/decision.ts @@ -9,6 +9,7 @@ export type ReasonCode = | "PAYMENT_FAILED" | "IDEMPOTENT_NOOP" | "VALIDATION_FAILED" + | "DUPLICATE_REQUEST" export interface PolicyDecision { ok: boolean