From 0166e701fcef070db77260c30a6a5783ed3d8a40 Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 11 Dec 2019 11:59:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20PayPal=E5=A2=9E=E5=8A=A0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=95=99=E8=A8=80,=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/paypal/views/note_setting.php | 29 ++++++++++++++----- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/webht/third_party/paypal/views/note_setting.php b/webht/third_party/paypal/views/note_setting.php index dd492f2f..241f3bc6 100644 --- a/webht/third_party/paypal/views/note_setting.php +++ b/webht/third_party/paypal/views/note_setting.php @@ -12,8 +12,6 @@
客人姓名,邮箱
pn_payer ?> , pn_payer_email ?>
- -
产品名
pn_item_name ?>
@@ -26,15 +24,28 @@
付款时间
pn_payment_date) + 3600 * 8); ?>
+
+
备注 / 留言
+
+ pn_memo); + if (isset($content->memo)) { + echo $content->memo . "
"; + } + if (isset($content->transaction_subject)) { + echo $content->transaction_subject; + } ?> +
+
订单号
- + - +
@@ -51,8 +62,8 @@ echo "COLI_ID => $order_info->COLI_ID
"; echo "OPI_Email => $order_info->OPI_Email
"; echo "OPI_Name => $order_info->OPI_Name
"; - echo!empty($order_info->COLI_GroupCode) ? "COLI_GroupCode => $order_info->COLI_GroupCode
" : false; - echo!empty($order_info->COLI_OrderDetailText) ? "COLI_OrderDetailText => $order_info->COLI_OrderDetailText\n" : false; + echo !empty($order_info->COLI_GroupCode) ? "COLI_GroupCode => $order_info->COLI_GroupCode
" : false; + echo !empty($order_info->COLI_OrderDetailText) ? "COLI_OrderDetailText => $order_info->COLI_OrderDetailText\n" : false; } else { echo '找不到订单内容'; } @@ -61,8 +72,10 @@
-
原始数据
-
+
原始数据
+