From 9824d959eaee2388955fe5054796f083cc5fe6bc Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 4 Dec 2019 14:29:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20APP=E7=BB=84PayPal=E6=94=B6=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/controllers/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index 646f01f0..64cacfe2 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -881,7 +881,8 @@ class Index extends CI_Controller { $orderid_info = json_decode($orderid_info); // 仅自动程序发送提醒 false == $handpick && if (strtolower($item->pn_payment_status) === 'completed' - && $orderid_info->ordertype == 'A' && strpos($get_order_no, 'China Train Booking') !== false) { + && $orderid_info->ordertype == 'A' + ) { // APP 组的China Train Booking-开头的订单号 // 发送邮件提醒外联核对收款金额, 不写入收款记录 $if_empty_gai = $this->process_notify_APP($item, $orderid_info);