From adb98391c3949b5644ebea12eb5c4835231e02da Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 10 Oct 2025 15:55:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PayPal=E6=9F=A5=E8=AF=A2=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/PaymentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/pay/controllers/PaymentService.php b/webht/third_party/pay/controllers/PaymentService.php index 3bc635be..a526a5b0 100644 --- a/webht/third_party/pay/controllers/PaymentService.php +++ b/webht/third_party/pay/controllers/PaymentService.php @@ -445,7 +445,7 @@ class PaymentService extends CI_Controller { $paypal_order = isset($memo->resource->supplementary_data) ?$memo->resource->supplementary_data->related_ids->order_id : (isset($memo->resource->application_context) ? $memo->resource->application_context->related_qualifiers[0]->id : ''); } $paypal_account = $item->OPN_fundSource ? $item->OPN_fundSource : 'cht'; - $paypal_account = 'Highlights' ? 'htravel' : $paypal_account; + $paypal_account = $paypal_account==='Highlights' ? 'htravel' : $paypal_account; // log_message('error','test: ' . __METHOD__ . ': ' . __LINE__ . ' ' . PHP_EOL . var_export($paypal_order, 1)); // log_message('error','test: ' . __METHOD__ . ': ' . __LINE__ . ' ' . PHP_EOL . var_export($paypal_account, 1)); // log_message('error','test: ' . __METHOD__ . ': ' . __LINE__ . ' ' . PHP_EOL . var_export($item->OPN_noticeType, 1));