Skip to Content
0
Jun 07, 2018 at 04:00 PM

SAPUI5 posting to payment gateway

183 Views

Hi Expert,

I've below html form posting which able to post and navigate to vendor payment page. When i tried to use ajaxcall for the posting in my app, the called was successful but it was not able to open up a new window/tab which navigate to the vendor payment page. Anyone know what do i missed out or HTML5 app does not support form posting.

<html>
<head>
</head>
<body>
<form name="payForm" method="post" action=" https://test.xxxx.com/payment/payForm.jsp">
<input type="hidden" name="merchantId" value="1113322">
<input type="hidden" name="amount" value="60000.00">
<input type="hidden" name="orderRef" value="0000000001">
<input type="hidden" name="currCode" value="458">
<input type="submit" value="Submit">
</form>
</body>
</html>

Below are my sample ajaxcall.

Regards,

Ben

Attachments

1.jpg (48.9 kB)