From aa2186d81a182c2189cc667e79dff2d858003307 Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 23 May 2019 17:07:01 +0800 Subject: [PATCH] =?UTF-8?q?paypal=20=E6=8E=A5=E5=8F=97webhook=E9=80=9A?= =?UTF-8?q?=E7=9F=A5?= 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 35fae3e7..78badbfe 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -627,7 +627,7 @@ class Index extends CI_Controller { } $post_data = json_decode($raw_post); if ($post_data->event_type != 'PAYMENT.SALE.COMPLETED') { - log_message('error',"paypal_webhook" . var_export(file_get_contents('php://input'), 1)); + log_message('error',"paypal_webhook" . var_export($raw_post, 1)); return; } $pn_txn_id = $post_data->resource->id;