Closed gyp719 closed 1 month ago
` $config = config('pay');
Pay::config($config); $order = [ 'out_trade_no' => time().'', 'description' => 'subject-测试', 'amount' => [ 'total' => 1, ], ]; $result = Pay::wechat()->app($order); dd($result) ;
`
自己捕获异常,看详细信息,或者看日志里微信返回的原始消息。一般是参数不对,看微信的文档确认
` $config = config('pay');
`