From 8f5a415e35f1515058d2db45bb693561391b17ed Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sun, 10 Aug 2025 13:07:03 +0800 Subject: [PATCH] update --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 79b020f..79bae9d 100644 --- a/server.js +++ b/server.js @@ -170,7 +170,8 @@ app.post('/api/payment/create', async (req, res) => { chainType: '1', // USDT TRC20 fiatAmount: order.total_amount.toFixed(2), fiatCurrency: 'USD', - notifyUrl: `${req.protocol}://${req.get('host')}/api/payment/callback` + notifyUrl: `${req.protocol}://${req.get('host')}/api/payment/callback`, + redirectUrl: `${req.protocol}://${req.get('host')}/success.html?order_id=${order_id}` }; // η”Ÿζˆη­Ύε