diff --git a/webht/third_party/pay/views/payment_gai_setting.php b/webht/third_party/pay/views/payment_gai_setting.php index 9f9f722c..c64de39f 100644 --- a/webht/third_party/pay/views/payment_gai_setting.php +++ b/webht/third_party/pay/views/payment_gai_setting.php @@ -1,4 +1,14 @@
+
+ 交易数据 +
OPN_rawContent);
+        $jsonPretty = json_encode($note, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
+        echo htmlspecialchars($jsonPretty);
+        ?>
+    
+

已录入订单

diff --git a/webht/third_party/pay/views/payment_list.php b/webht/third_party/pay/views/payment_list.php index a00411a4..a0537372 100644 --- a/webht/third_party/pay/views/payment_list.php +++ b/webht/third_party/pay/views/payment_list.php @@ -260,14 +260,17 @@ $item) { ?> - + brand_name))."-color"; ?>">brand_name; ?> OPN_fundSource)))."-color"; ?>">OPN_fundSource); ?> - OPN_orderId . ' / ' ?>OPN_orderAmount; ?>OPN_currency; ?> + + OPN_orderId; ?> + + OPN_orderId . ' / ' ?> / OPN_orderAmount; ?>OPN_currency; ?> OPN_orderId . ' / ' . $item->OPN_orderAmount . $item->OPN_currency; ?> - OPN_payerName ? $item->OPN_payerName : $item->OPN_payerEmail ?> + OPN_payerName .'
'. $item->OPN_payerEmail ?> app_name) { ?> app_name))."-color"; ?>">app_name; ?> @@ -305,7 +308,9 @@ ?> OPN_transactionResult !== 'completed') { - echo '' . strtoupper($item->OPN_transactionResult) . '
'; + $cls = $item->OPN_transactionResult == 'declined' ? 'text-danger' : 'text-muted'; + $text = strtoupper($item->OPN_transactionResult); + echo "{$text}
"; } elseif ($item->OPN_noticeType !== 'pay') { echo '' . strtoupper($item->OPN_noticeType) . '
'; } else {