...
|
...
|
@@ -203,6 +203,7 @@ class PayController extends AbstractAction |
|
|
*/
|
|
|
private function commonShowResult($payResult, $payment)
|
|
|
{
|
|
|
$orderCode = '';
|
|
|
$this->setTitle('支付中心');
|
|
|
$this->setNavHeader('支付中心', Helpers::url('/home/orders'), false);
|
|
|
|
...
|
...
|
@@ -210,6 +211,7 @@ class PayController extends AbstractAction |
|
|
if ($payResult->payResult == 200) {
|
|
|
$view = 'index';
|
|
|
if (!empty($payResult->orderCode)) {
|
|
|
$orderCode = $payResult->orderCode;
|
|
|
//支付成功,发送一次支付确认
|
|
|
$uid = $this->getUid();
|
|
|
OrderData::payConfirm($payResult->orderCode, $payment, $uid);
|
...
|
...
|
@@ -218,7 +220,8 @@ class PayController extends AbstractAction |
|
|
|
|
|
$data = array(
|
|
|
'payBackPage' => true,
|
|
|
'pageFooter' => true
|
|
|
'pageFooter' => true,
|
|
|
'order_code' => $orderCode
|
|
|
);
|
|
|
$this->_view->display($view, $data);
|
|
|
}
|
...
|
...
|
|