From 1f52e51106bc2f1eda6ede1d6bfa66661e509016 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 19 Jul 2024 13:58:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PayPal=E8=AE=B0=E5=BD=95:=20=E5=95=86?= =?UTF-8?q?=E6=88=B7=E8=B4=A6=E6=88=B7?= 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, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index 61158b1b..627ac868 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -606,7 +606,7 @@ class Index extends CI_Controller { $pn_payment_date = $this->input->post('payment_date'); $pn_payer = $this->input->post('first_name') . ' ' . $this->input->post('last_name'); $pn_payer_email = $this->input->post('payer_email'); - $pn_receiver_email = $this->input->post('business'); + $pn_receiver_email = $this->input->post('business') ? $this->input->post('business') : $this->input->post('receiver_email'); $post_data = $_POST; $post_data['ipn_time'] = date('Y-m-d H:i:s'); $post_data['notify_time'] = date('Y-m-d H:i:s');