作者 何书鹏

取消测试金额

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