This commit is contained in:
payacom
2026-09-24 21:00:07 +03:30
parent 1954b2661d
commit 7f0ddfde70
113 changed files with 570 additions and 5049 deletions

View File

@@ -107,6 +107,12 @@ const orderSchema = new mongoose.Schema({
type: String,
default: null
},
// مبلغی که کاربر با تیکِ «استفاده از کیف پول» قرار بود از سبدِ charged کسر بشه —
// فقط در لحظه‌ی موفقیتِ قطعیِ پرداخت واقعاً کسر می‌شه (نگاه کن به utils/walletSplit.js)
walletAmountUsed: {
type: Number,
default: 0
},
buyerAddressSnapshot: {
type: buyerAddressSnapshotSchema,
default: null