pay debug
parent
7c1b3ed01f
commit
2d3b368769
|
|
@ -113,6 +113,7 @@ class OrderService
|
|||
'total_price' => $order['total_price'],
|
||||
'notify_url' => $url.'_notify.php',
|
||||
'call_back_url' => $call_back_url,
|
||||
'site_name' => MyC('home_seo_site_title', 'ShopXO', true),
|
||||
);
|
||||
$pay_name = 'payment\\'.$payment[0]['payment'];
|
||||
$ret = (new $pay_name($payment[0]['config']))->Pay($pay_data);
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ class WeixinMini
|
|||
$data = [
|
||||
'appid' => $this->config['appid'],
|
||||
'mch_id' => $this->config['mch_id'],
|
||||
'body' => $params['name'],
|
||||
'body' => $params['site_name'].'-'.$params['name'],
|
||||
'nonce_str' => md5(time().rand().$params['order_no']),
|
||||
'notify_url' => $params['notify_url'],
|
||||
'openid' => $params['user_openid'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue