From 37e34bbbb9f1838481c41a7848a2185a30f5617e Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Sat, 08 Feb 2025 16:48:23 +0800 Subject: [PATCH] refactor(pay): 重构 FiuuReturnController 中的 skey 计算逻辑 --- 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