cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 posting to payment gateway

benlim
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

Hi Ben, Ajax calls do not open the page you are posting to. Ajax just does the GET/POST to the URL you mentioned.

This is different from the Form Posting.