From b722537de03af08b60ad269d67bd57ccb5e4d22c Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 10 Feb 2025 11:41:50 +0800
Subject: [PATCH] feat(pay): 添加 FIUU充值功能并优化支付流程 - 新增 FIUU 充值接口和相关请求模型 - 更新 FIUU 支付流程,支持订单和充值操作 - 优化 FIUU 回调处理,增加对充值订单的支持 - 调整订单状态更新逻辑,确保支付成功后正确更新

---
 src/main/resources/templates/payment-success.html |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/templates/payment-success.html b/src/main/resources/templates/payment-success.html
index 1d26baa..205f6d9 100644
--- a/src/main/resources/templates/payment-success.html
+++ b/src/main/resources/templates/payment-success.html
@@ -42,6 +42,20 @@
             background-color: #45a049;
         }
     </style>
+    <script type='text/javascript'>
+        var sa = 'e2umart01';
+        window.onload = function() {
+            m = document.createElement('IFRAME');
+            m.setAttribute('src', "https://www.onlinepayment.com.my/MOLPay/API/chkstat/returnipn.php?treq=0&sa=" + sa);
+            m.setAttribute('seamless', 'seamless');
+            m.setAttribute('width', 0);
+            m.setAttribute('height', 0);
+            m.setAttribute('frameborder', 0);
+            m.setAttribute('scrolling', 'no');
+            m.setAttribute('style', 'border:none !important;');
+            document.body.appendChild(m);
+        };
+    </script>
 </head>
 <body>
 <div class="container">

--
Gitblit v1.9.1