|
|
|
@ -801,9 +801,9 @@ class Index extends CI_Controller {
|
|
|
|
|
} else {
|
|
|
|
|
$ssje = $this->Paypal_model->get_ssje($item->pn_mc_gross, '15002', mb_strtoupper($item->pn_mc_currency));
|
|
|
|
|
$this->Paypal_model->add_account_info($GAI_COLI_SN, $advisor_info->COLI_ID, $item->pn_mc_gross, $item->pn_payment_date, mb_strtoupper($item->pn_mc_currency), $ssje, $item->pn_payment_date, $item->pn_payment_date, $item->pn_payment_date, '', $item->pn_payer_email, $item->pn_txn_id, $ht_memo);
|
|
|
|
|
if ($advisor_info->COLI_Department == 10) {
|
|
|
|
|
// 更新订单主表付款方式,防止没访问thankyou-train.asp
|
|
|
|
|
$this->Paypal_model->update_paymanner($GAI_COLI_SN, '15010');
|
|
|
|
|
if ($advisor_info->COLI_Department == 10) {
|
|
|
|
|
// 把订单状态设置为13-新订单已支付
|
|
|
|
|
$this->Paypal_model->update_biz_coli_state($GAI_COLI_SN, 13);
|
|
|
|
|
}
|
|
|
|
|