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}` }; // η”Ÿζˆη­Ύε