update
This commit is contained in:
parent
346fd1d3c0
commit
8f5a415e35
@ -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}`
|
||||
};
|
||||
|
||||
// 生成签名
|
||||
|
||||
Loading…
Reference in New Issue
Block a user