1. Home
  2. PAYDirect WEB
  3. Transaction Payment Leg
  4. Form Creation

Form Creation

Form Creation 

  • Create a form in the location that the <PAY NOW> button should appear
  • Set the form’s action to <https://sandbox.interswitchng.com/webpay/pay>
  • Set the form’s HTTP method to POST
  • Create hidden fields with details shown the table below. Note that only 7 fields are mandatory .i.e.
    • product_id,
    • amount,
    • currency,
    • site_redirect_url,
    • txn_ref, hash and
    • pay_item_id
  • Create a submit button in the form.

 

For complete list of merchant details when sending request, click here

Details on how to calculate hash are located here

Was this article helpful to you? Yes No

How can we help?