diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index 6bcc96a8..1fd3f0f5 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -1081,6 +1081,7 @@ class Index extends CI_Controller { } $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; + $USD_amount = $this->Paypal_model->get_USD($item->pn_mc_gross, $item->pn_mc_currency); if (false == $this->Paypal_model->if_biz_gai_exists($paypal_msg->pn_txn_id) ) { if ( ! empty($ht_tp_order)) { $this->Paypal_model->update_biz_coli_state($ht_tp_order->COLI_SN, 13); @@ -1110,6 +1111,7 @@ class Index extends CI_Controller { $paypal_msg->pn_mc_gross, $paypal_msg->pn_payment_date, mb_strtoupper($paypal_msg->pn_mc_currency), + $USD_amount, $ssje, $paypal_msg->pn_payment_date, $paypal_msg->pn_payment_date,