Skip to content

3DS Verification

The transaction initiation response contains a redirectionData object that provides information on how to proceed with 3DS verification.

  • method: Specifies how the customer should be redirected to complete the 3DS verification. It can either be POST or GET.
  • formData: Contains the HTML form required for submitting the form data if the method is POST.
  • POST: If the method is POST, the form should be automatically submitted to initiate the verification process.
  • GET: If the method is GET, the customer will be redirected directly to the 3DS verification page.

Example Code (for submitting the form automatically using POST method)

Section titled “Example Code (for submitting the form automatically using POST method)”
<form
action="https://certpayments.oabipay.com/trxns/VPAS.htm?actionVPAS=VbvVEReqProcessHTTP&paymentId=202517568254223?PaymentID=pay798378b8c272451f90cb2b491a86ed17"
method="POST" id="omannet_re_direct" name="omannet_re_direct">
</form>
<script type="text/javascript">
document.getElementById('omannet_re_direct').submit();
</script>

Once the customer successfully completes the 3DS verification, they will be redirected to the redirectionUrl provided in the transaction initiation API.

Once redirected, the merchant is required to call the Payment Status API to retrieve the complete payment status and associated payment information.