Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create a form with redirect to a payment gateway

Caprihan-OracleJul 31 2020 — edited Aug 13 2020

Hi,

I'm trying to create the following form on my APEX (19.1) page:

<form id="nonseamless" method="post" name="redirect" action="https://test.ccavenue.com/transaction/transaction.do?command=initiateTransaction"/>
<input type="hidden" id="encRequest" name="encRequest" value="' + encRequest + '">
<input type="hidden" name="access_code" id="access_code" value="' + accessCode + '">
<script language="javascript">document.redirect.submit();</script>
</form>

the variables encRequest and accessCode should be calculated on click of the submit button...and then the form submitted.

Can anyone please give me pointers on how this can be done?

Thanks,

Gaurav

This post has been answered by Chris.F on Aug 5 2020
Jump to Answer
Comments
Post Details
Added on Jul 31 2020
16 comments
21,682 views