|
|
@@ -262,9 +262,10 @@ class TestController extends BaseController
|
|
|
$orderSn = $response['resp_data']['out_trade_no'] ?? 0;
|
|
|
$totalFee = $payer_amount / 100;
|
|
|
$transactionId = $response['resp_data']['trade_no'] ?? 0;
|
|
|
- echo $currentPayWay.' '.$capitalType.' '.$orderSn.' '.$totalFee.' '.$attach.' '.$transaction;die;
|
|
|
- payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
|
|
|
- $transaction->commit();
|
|
|
+ echo $currentPayWay . ' ' . $capitalType . ' ' . $orderSn . ' ' . $totalFee . ' ' . $attach . ' ' . $transactionId;
|
|
|
+ die;
|
|
|
+ //payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
|
|
|
+ //$transaction->commit();
|
|
|
echo 'OK';
|
|
|
} catch (\Exception $e) {
|
|
|
$transaction->rollBack();
|