From 61bc4f25b7009af506f4031713f91fbc03a91b44 Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 16 May 2019 16:45:11 +0800 Subject: [PATCH] =?UTF-8?q?Trippest=E7=9A=84=E5=BD=95=E5=85=A5=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0money=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/controllers/index.php | 2 ++ 1 file changed, 2 insertions(+) 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,