diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index 1fd3f0f5..196519f2 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -1081,7 +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); + $USD_amount = $this->Paypal_model->get_USD($paypal_msg->pn_mc_gross, $paypal_msg->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);