1
This commit is contained in:
parent
26acfcf403
commit
7ee83d9bc9
@ -590,7 +590,7 @@ class DetectionService extends BaseService
|
||||
// 检测订单金额
|
||||
if ($order_detection['payment_amount_total'] > 0){
|
||||
// 发起退款
|
||||
$WechatPay = new WechatPay(1, 1);
|
||||
$WechatPay = new WechatPay(1, 3);
|
||||
|
||||
$options = array();
|
||||
$options['transaction_id'] = $order_detection['escrow_trade_no'];
|
||||
@ -602,6 +602,7 @@ class DetectionService extends BaseService
|
||||
'currency' => "CNY",
|
||||
];
|
||||
|
||||
dump($options);
|
||||
$result = $WechatPay->refund($options);
|
||||
|
||||
// 处理订单退款状态
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user