myMedisys/tomcatfiles/mymedisys-frontend/WEB-INF/classes/templates/page/payment/sample-M1-payment-form.html
2023-09-06 05:56:42 +05:30

26 lines
1.4 KiB
HTML

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org"
layout:decorate="~{layouts/blank-layout}">
<meta name="Content-Type" content="application/json"/>
<body layout:fragment="page_content" id="page_projections">
<h4 class="card-title mt-5 mb-3">
<strong> Please Do Not Close the browser and do not refresh page. </strong>
</h4><!-- id="onlinPayFormSubmit" -->
<form th:action="@{${'https://gateway-uat.m1pay.com.my/m1paywall/api/transaction'}}"
autocomplete="off" th:method="post" id="onlinPayFormSubmit"
th:object="${payForm}">
<input type="hidden" name="Content-Type" value="application/json"/>
<input type="hidden" th:field="*{transactionAmount}" id="transactionAmount"/>
<input type="hidden" th:field="*{merchantId}" id="merchantId"/>
<input type="hidden" th:field="*{transactionCurrency}" id="transactionCurrency"/>
<input type="hidden" th:field="*{merchantOrderNo}" id="merchantOrderNo"/>
<input type="hidden" th:field="*{exchangeOrderNo}" id="exchangeOrderNo"/>
<input type="hidden" th:field="*{productDescription}" id="productDescription"/>
<input type="hidden" th:field="*{fpxBank}" id="fpxBankId"/>
<input type="hidden" th:field="*{emailAddress}" id="emailAddress"/>
<input type="hidden" th:field="*{signedData}" id="signedData"/>
<input type="hidden" th:field="*{channel}" id="channel"/>
<button type="submit">Submit</button>
</form>
</body>
</html>