1. Home
  2. WebPAY
  3. New WebPAY
  4. Redirect Implementation

Redirect Implementation

Transaction Payment Leg

To make use of the new WebPAY payment page, kindly make use of the same request structure as the old WebPAY (for more details on payment POST request structure, click here).

However, the only difference is that your request should be sent to below service URLs:-

Payment URL for New WebPAY

Payment URL for New WebPAY

 

Test Merchant Details are also below:-

1.5% Fee New WebPAY Details (NO SPLIT XML)

1.5% to a cap of N2,000 Transaction Fee for New WebPAY Details (NO SPLIT XML)

 

All other details remain the same.

 

Server Response – ResponseDescription & ResponseCode returned

After payment, details of the transaction are returned to the merchant website for processing.This is done in the form of a HTTP POST request sent to the site_redirect_url.

Transaction Confirmation Leg

Transaction confirmation is done the same way as with old WebPAY (for more details on transaction confirmation GET request structure, click here).

Request URL
HTTP GET -> https://sandbox.interswitchng.com/collections/api/v1/gettransaction.json?productid=1076&transactionreference=JB1692583&amount=66600

Host: sandbox.interswitchng.com

Hash: 29EC8A9728F385672D1774B8860626C706E7B7E73C059C46AE4272E06AECEA2D4D1A417C37A303AA14767B082A0B8AF1D81895740B3442C732D4531D54E2474E

Sample Responses:-

You can find a complete working script in the Sample Code section.

Was this article helpful to you? Yes 1 No 1

How can we help?