full app
This commit is contained in:
@@ -14,6 +14,9 @@ const modelSchema = new mongoose.Schema({
|
||||
payment_authority: { type: String },
|
||||
payment_ref_id: { type: String },
|
||||
status: { type: String, enum: ["pending", "success", "failed", "settled"], default: "success" },
|
||||
// فقط «قصدِ» استفاده از کیف پول رو نگه میداره تا لحظهی تاییدِ verify — کسرِ واقعی
|
||||
// اونجا انجام میشه (utils/walletSplit.js)
|
||||
walletAmountUsed: { type: Number, default: 0 },
|
||||
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user