1. Home
  2. CollegePAY WEB
  3. Transaction Payment Leg
  4. Sample Response & Fields

Sample Response & Fields

Payment Response

The following are the parameters returned by WebPAY for real time transactions.

FieldField DescriptionExpected Values
apprAmtWill always have a value of 0 0
cardNumWill always have a value of 0 0
payRefA reference number that uniquely identifies all transactions that goes through the gateway variable
retRefReference number from the switch’s interconnecting with the banking application variable
txnrefThe transaction Reference initially generated & sent by the merchant site will be sent back with this variable variable

 

Note: CollegePAY will perform a HTTP POST to the site_redirect_url sent in the initial request/payment leg. You should use the txn_ref sent to your site_redirect_url to query Interswitch for transaction data (next section)

 

 

 

Successful Transaction Response

https://sandbox.interswitchng.com/webpay/pay/ResponsePost/?txnRef=754348&payRef=FBN|WEB|WEBP|20-10-2015|167377&retRef=000000106903&cardNum=0&apprAmt=0&url=http%3a%2f%2flocalhost%2fwebpstaging%2ftpay.php

 

Failed Transaction Response

https://sandbox.interswitchng.com/webpay/Pay/ResponsePost/?txnRef=JB3813821&payRef=&retRef=&cardNum=0&apprAmt=0&amt=66666&url=http%3a%2f%2flocalhost%2fdemopay4%2fredirect4.php

Please note, for a failed transaction some response parameters will be empty

 

The POST back sent from Interswitch can be viewed using Firefox browser as below:-

Was this article helpful to you? Yes No

How can we help?