作者 何书鹏

取消测试金额

@@ -107,7 +107,7 @@ class PackageOrder extends Base @@ -107,7 +107,7 @@ class PackageOrder extends Base
107 $notify_url = $this->request->root(true) . '/api/package_order/notifyx/payment/' . $payment . '/platform/' . $platform; 107 $notify_url = $this->request->root(true) . '/api/package_order/notifyx/payment/' . $payment . '/platform/' . $platform;
108 $pay = new \addons\shopro\library\PayService($payment, $platform, $notify_url); 108 $pay = new \addons\shopro\library\PayService($payment, $platform, $notify_url);
109 // 测试支付金额 109 // 测试支付金额
110 - $order_data['total_fee'] = 0.01; 110 + // $order_data['total_fee'] = 0.01;
111 $result = $pay->create($order_data); 111 $result = $pay->create($order_data);
112 112
113 return $this->success('获取预付款成功', [ 113 return $this->success('获取预付款成功', [
@@ -133,7 +133,7 @@ class Pay extends Base @@ -133,7 +133,7 @@ class Pay extends Base
133 $notify_url = $this->request->root(true) . '/addons/shopro/pay/notifyx/payment/' . $payment . '/platform/' . $platform; 133 $notify_url = $this->request->root(true) . '/addons/shopro/pay/notifyx/payment/' . $payment . '/platform/' . $platform;
134 $pay = new \addons\shopro\library\PayService($payment, $platform, $notify_url); 134 $pay = new \addons\shopro\library\PayService($payment, $platform, $notify_url);
135 // 测试支付金额 135 // 测试支付金额
136 - $order_data['total_fee'] = 0.01; 136 + // $order_data['total_fee'] = 0.01;
137 $result = $pay->create($order_data); 137 $result = $pay->create($order_data);
138 if ($platform == 'App') { 138 if ($platform == 'App') {
139 $result = $result->getContent(); 139 $result = $result->getContent();