|
|
|
|
@ -817,14 +817,14 @@ class Index extends CI_Controller {
|
|
|
|
|
echo ++$show_index . ' ' . $item->pn_txn_id . '<br/>';
|
|
|
|
|
}
|
|
|
|
|
//退款状态默认为已经处理,陆燕在退款前手动通知外联了,系统跳过处理
|
|
|
|
|
if ($item->pn_payment_status == 'Refunded') {
|
|
|
|
|
if (strtolower($item->pn_payment_status) == 'refunded') {
|
|
|
|
|
$this->send_refund($item, $handpick, $old_ssje);
|
|
|
|
|
// $this->Note_model->update_send($item->pn_txn_id, 'send');
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//只处理完成状态,其他状态由陆燕处理
|
|
|
|
|
if ($item->pn_payment_status !== 'Completed') {
|
|
|
|
|
if (strtolower($item->pn_payment_status) !== 'completed') {
|
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'sendfail');
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
@ -852,7 +852,7 @@ class Index extends CI_Controller {
|
|
|
|
|
}
|
|
|
|
|
$orderid_info = json_decode($orderid_info);
|
|
|
|
|
// 仅自动程序发送提醒 false == $handpick &&
|
|
|
|
|
if ($item->pn_payment_status === 'Completed'
|
|
|
|
|
if (strtolower($item->pn_payment_status) === 'completed'
|
|
|
|
|
&& $orderid_info->ordertype == 'A' && strpos($get_order_no, 'China Train Booking') !== false) {
|
|
|
|
|
// APP 组的China Train Booking-开头的订单号
|
|
|
|
|
// 发送邮件提醒外联核对收款金额, 不写入收款记录
|
|
|
|
|
|