feat : wechatPay callback
This commit is contained in:
@@ -107,6 +107,8 @@ class PlacePayService extends BaseService
|
||||
if ($this->orderInfo->actual_price <= 0) return $this->directPayment();
|
||||
|
||||
$this->checkPayOrder();
|
||||
// 测试环境 0.01
|
||||
if (!SystemUtil::checkProEnv() && $this->orderInfo->actual_price > 0) $this->orderInfo->actual_price = '0.01';
|
||||
|
||||
$this->setPayInfo();
|
||||
|
||||
@@ -119,9 +121,6 @@ class PlacePayService extends BaseService
|
||||
$rechargeService->setConfig();
|
||||
$rechargeService->setNotify();
|
||||
|
||||
// 测试环境 0.01
|
||||
if (!SystemUtil::checkProEnv() && $this->orderInfo->actual_price > 0) $this->orderInfo->actual_price = '0.01';
|
||||
|
||||
$payData = $rechargeService->pay(
|
||||
(float)$this->orderInfo->actual_price,
|
||||
// $this->request->input('body','订单支付'),
|
||||
|
||||
Reference in New Issue
Block a user