|
|
@ -1256,9 +1256,11 @@ class Index extends CI_Controller {
|
|
|
|
if ( ! empty($notes) ) { // && strpos($notes[0]->pn_custom, 'GPA_') === false
|
|
|
|
if ( ! empty($notes) ) { // && strpos($notes[0]->pn_custom, 'GPA_') === false
|
|
|
|
$memo0 = json_decode($notes[0]->pn_memo);
|
|
|
|
$memo0 = json_decode($notes[0]->pn_memo);
|
|
|
|
if ( ! (isset($memo0->id) && substr($memo0->id, 0, 2)==="WH")) {
|
|
|
|
if ( ! (isset($memo0->id) && substr($memo0->id, 0, 2)==="WH")) {
|
|
|
|
$IPN_note = $notes[0]; // 存在IPN, 本条忽略
|
|
|
|
$IPN_note = $notes[0]; // 存在IPN, 本条WH忽略
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'send-', $item->pn_sn);
|
|
|
|
if ((isset($payment_memo->id) && substr($payment_memo->id, 0, 2)==="WH")) {
|
|
|
|
return false;
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'send-', $item->pn_sn);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 找到原始收款交易的订单
|
|
|
|
// 找到原始收款交易的订单
|
|
|
|