feat: PayPal显示发送状态

feature/pay
lyt 6 years ago
parent de9ec9ee90
commit c160621a90

@ -1611,7 +1611,7 @@ class Index extends CI_Controller {
$post_body .= '&appkey=jdfk*$jfjdk1688';
$app_return = $this->async_curl("http://wx.chinatrainbooking.com/paypalend/", $post_body, 5);
if (intval($app_return)===200) {
return false; // 下一步更新为send
return false; // 下一步更新为send-app
}
return true; // 下一步: sendfail

@ -211,7 +211,7 @@ echo "<option value=\"$vf->TEL_SN@" . strstr($vf->TEL_transactionDate, " ", true
$raw_content = json_decode($item->pn_memo);
$show_record = '查看录入状态';
if ($item->pn_send == 'send' || substr($item->pn_send, 0, 5) == "send-") {
$show_send = 'send';
$show_send = $item->pn_send;
} elseif ($item->pn_send == 'closeRecord') {
$show_send = $show_record = '已忽略';
} else if (strtolower($item->pn_payment_status) == 'completed') {

Loading…
Cancel
Save