From 60f3c620059b42205bc2bef2cdfb4c27decb0370 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Thu, 4 Jul 2024 11:19:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20PayPal=20API=E9=80=80=E6=AC=BE=E7=9A=84?= =?UTF-8?q?custom=5Fid?= 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 e35e43c8..04592305 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -678,6 +678,7 @@ class Index extends CI_Controller { break; case 'PAYMENT.CAPTURE.REFUNDED': $pn_invoice = $post_data->resource->invoice_id; + $pn_custom = $post_data->resource->custom_id; $pn_mc_currency = $post_data->resource->amount->currency_code; $pn_mc_gross = '-' . $post_data->resource->amount->value; $pn_payment_status = 'Refunded';