paypal Trippest站的收款自动录入订单

feature/pay
lyt 6 years ago
parent 51a7f9ef47
commit a06156b1cb

@ -986,22 +986,22 @@ class Index extends CI_Controller {
return $this->Note_model->update_send($paypal_msg->pn_txn_id, 'sendfail');
}
//更新正确的订单信息到记录中,以这个为主
$this->Note_model->set_invoice($item->pn_txn_id, $ht_tp_order->COLI_ID . '_B');
$ssje = $this->Paypal_model->get_ssje($item->pn_mc_gross, '15002', mb_strtoupper($item->pn_mc_currency));
$ht_memo = '交易号(自动录入):' . $item->pn_txn_id;
$this->Note_model->set_invoice($paypal_msg->pn_txn_id, $ht_tp_order->COLI_ID . '_B');
$ssje = $this->Paypal_model->get_ssje($paypal_msg->pn_mc_gross, '15002', mb_strtoupper($paypal_msg->pn_mc_currency));
$ht_memo = '交易号(自动录入):' . $paypal_msg->pn_txn_id;
$this->Paypal_model->add_account_info(
$ht_tp_order->COLI_SN,
$ht_tp_order->COLI_ID,
$item->pn_mc_gross,
$item->pn_payment_date,
mb_strtoupper($item->pn_mc_currency),
$paypal_msg->pn_mc_gross,
$paypal_msg->pn_payment_date,
mb_strtoupper($paypal_msg->pn_mc_currency),
$ssje,
$item->pn_payment_date,
$item->pn_payment_date,
$item->pn_payment_date,
$paypal_msg->pn_payment_date,
$paypal_msg->pn_payment_date,
$paypal_msg->pn_payment_date,
'',
$item->pn_payer_email,
$item->pn_txn_id,
$paypal_msg->pn_payer_email,
$paypal_msg->pn_txn_id,
$ht_memo
);

Loading…
Cancel
Save