mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +08:00
order: fix mgate payment
This commit is contained in:
parent
a75928a91b
commit
f80b2cd439
@ -473,7 +473,7 @@ class OrderController extends Controller
|
|||||||
|
|
||||||
private function mgate($order)
|
private function mgate($order)
|
||||||
{
|
{
|
||||||
$mgate = new MGate(config('v2board_mgate_url'), config('v2board.mgate_app_id'), config('v2board.mgate_app_secret'));
|
$mgate = new MGate(config('v2board.mgate_url'), config('v2board.mgate_app_id'), config('v2board.mgate_app_secret'));
|
||||||
$result = $mgate->pay([
|
$result = $mgate->pay([
|
||||||
'app_id' => config('v2board.mgate_app_id'),
|
'app_id' => config('v2board.mgate_app_id'),
|
||||||
'out_trade_no' => $order->trade_no,
|
'out_trade_no' => $order->trade_no,
|
||||||
|
Loading…
Reference in New Issue
Block a user