|
|
@@ -807,7 +807,7 @@ class TestController extends BaseController
|
|
|
}
|
|
|
$attach = 'merchant_no=' . $merchant_no;
|
|
|
$capitalType = dict::getDict('capitalType', 'hdPurchaseClear', 'id');
|
|
|
- echo $currentPayWay.'|'.$capitalType.'|'.$orderSn.'|'.$totalFee.'|'. $attach.'|'.$transactionId;
|
|
|
+ echo $currentPayWay . '|' . $capitalType . '|' . $orderSn . '|' . $totalFee . '|' . $attach . '|' . $transactionId;
|
|
|
payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
|
|
|
}
|
|
|
}
|
|
|
@@ -960,9 +960,11 @@ class TestController extends BaseController
|
|
|
'lklCertificatePath' => $lklCertificatePath,
|
|
|
];
|
|
|
$laResource = new Lakala($params);
|
|
|
+ $orderSn = 'CG29795164';
|
|
|
+ $tradeNo = '66223122980070';
|
|
|
$queryParams = [
|
|
|
- //'orderSn' => 'CG29795143',
|
|
|
- 'tradeNo' => '66223122980070',
|
|
|
+ 'orderSn' => $orderSn,
|
|
|
+ 'tradeNo' => $tradeNo,
|
|
|
];
|
|
|
$response = $laResource->query($queryParams, 1);
|
|
|
echo "<pre>";
|
|
|
@@ -989,7 +991,7 @@ class TestController extends BaseController
|
|
|
}
|
|
|
$attach = '';
|
|
|
$total_amount = $response['resp_data']['total_amount'] ?? 0;
|
|
|
- $orderSn = $response['resp_data']['out_trade_no'] ?? 0;
|
|
|
+ //$orderSn = $response['resp_data']['out_trade_no'] ?? 0;
|
|
|
$totalFee = $total_amount / 100;
|
|
|
$transactionId = $response['resp_data']['trade_no'] ?? 0;
|
|
|
payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
|