From ce7d7b7ce093170e1f79c6126cb7eafd7cf6f746 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 3 Sep 2024 14:36:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PayPal=20wh=E8=AE=B0=E5=BD=95=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E5=BD=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/controllers/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index dcad72d0..98aee24d 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -1017,6 +1017,7 @@ class Index extends CI_Controller { $payment_fee = property_exists($webhook_memo, 'mc_fee') ? $webhook_memo->mc_fee : $webhook_memo->resource->transaction_fee->value; $GAI_API = property_exists($webhook_memo, 'GAI_API') ? $webhook_memo->GAI_API : null; + $GAI_API = json_encode($GAI_API, JSON_UNESCAPED_SLASHES); } else { $payment_fee = property_exists($webhook_memo, 'mc_fee') ? $webhook_memo->mc_fee : 0; }