作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

测试

... ... @@ -97,7 +97,7 @@ class Wechat extends Controller
$refundLog->save();
$payment = self::payment();
$result = $payment->refund->byOutTradeNumber($refundLog['order_sn'], $refundLog['refund_sn'], $refundLog['pay_fee'], $refundLog['refund_fee'], [
$result = $payment->refund->byOutTradeNumber($refundLog['order_sn'], $refundLog['refund_sn'], $refundLog['pay_fee'] * 100, $refundLog['refund_fee'] * 100, [
// 可在此处传入其他参数,详细参数见微信支付文档
'refund_desc' => $refund_desc,
'notify_url' => request()->domain() . url('/index/notify/notifyr')
... ...