mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 14:25:32 +08:00
微信/QQ支付退款优化
This commit is contained in:
@ -414,7 +414,8 @@ class QQ
|
||||
'mch_id' => $this->config['mch_id'],
|
||||
'nonce_str' => md5(time().rand().$params['order_no']),
|
||||
'transaction_id' => $params['trade_no'],
|
||||
'out_refund_no' => $params['order_no'],
|
||||
'out_trade_no' => $params['order_no'],
|
||||
'out_refund_no' => $params['order_no'].GetNumberCode(),
|
||||
'refund_fee' => (int) (($params['refund_price']*1000)/10),
|
||||
'op_user_id' => $this->config['op_user_id'],
|
||||
'op_user_passwd' => md5($this->config['op_user_passwd']),
|
||||
|
||||
@ -540,7 +540,8 @@ class Weixin
|
||||
'nonce_str' => md5(time().rand().$params['order_no']),
|
||||
'sign_type' => 'MD5',
|
||||
'transaction_id' => $params['trade_no'],
|
||||
'out_refund_no' => $params['order_no'],
|
||||
'out_trade_no' => $params['order_no'],
|
||||
'out_refund_no' => $params['order_no'].GetNumberCode(),
|
||||
'total_fee' => (int) (($params['pay_price']*1000)/10),
|
||||
'refund_fee' => (int) (($params['refund_price']*1000)/10),
|
||||
'refund_desc' => $refund_reason,
|
||||
|
||||
Reference in New Issue
Block a user