From d52904be5cc576bd0559241cdba963a0b61dc6ee Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 10 Feb 2025 15:16:44 +0800 Subject: [PATCH] refactor(pay): 优化支付流程和日志记录 --- 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