|
@@ -255,8 +255,10 @@ class OrderService
|
|
|
'out_trade_no' => $orderId,
|
|
|
];
|
|
|
try{
|
|
|
- dump(Pay::wechat(config('payment.wxpay')));
|
|
|
- $result = Pay::wechat(config('payment.wxpay'));
|
|
|
+ $config = config('payment.wxpay');
|
|
|
+ unset($config['notify_url']);
|
|
|
+ dump(Pay::wechat($config));
|
|
|
+ $result = Pay::wechat($config)->find($order);
|
|
|
}catch (\Exception $e){
|
|
|
dump($e->getMessage());
|
|
|
}
|