Redirect Payment Verify
  • 20 Jan 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Redirect Payment Verify

  • Dark
    Light
  • PDF

Article summary

Request message

Input request parameterDescription
Merchant Authentication TokenY2ExNzE2NDBlZjEyNmZhZjRmMmRmY2Iy
MessageID 14
TransactionID12345678901234567890
MerchantIDSTSPayOneM
Amount100
LanguageEn
CurrencyISOCode400
PaymentDescriptionSample Payment Description
ResponseBackURLhttps://MerchatWebSite/PaymentResponse.do
ThemeID theme1
Channel0
Quantity 1
Version1.0
Parameters Order
Amount, Channel, CurrencyISOCode, Language, MerchantID, MessageID,
PaymentDescription, Quantity, ResponseBackURL, ThemeID, TransactionID, Version
Note: The parameters are ordered alphabetically in the secure hash.
The input to the Secure Hash generation routine 
Y2ExNzE2NDBlZjEyNmZhZjRmMmRmY2Iy1000400EnSTSPayOneM14Sample+Payment+Descr iption1https://MerchatWebSite/PaymentResponse.dotheme1123456789012345678901.0
Output
dmf2b07a95a3d93cc1bh6cd38mc69dbc1cf36819oa0bf83u549c827d98e6a84f

Response message

Input response parameterDescription
Merchant Authentication TokenY2ExNzE2NDBlZjEyNmZhZjRmMmRmY2Iy
Response.MessageID 14
Response.TransactionID12345678901234567890
Response.StatusCode00000
Response.StatusDescriptionPayment processed successfully
Response.GatewayStatusCode0000
Response.GatewayNameTestGateway
Response.GatewayStatusDescriptionSample Gateway Description
Response.Amount100
Response.ApprovalCode654321
Response.CardExpiryDate0416
Response.CardHolderName Card Holder
Response.CurrencyISOCode400
Response.CardNumber400555******0001
Response.MerchantID
STSPayOneM
Response.RRN
123456
Parameters Order
Response.Amount, Response.ApprovalCode, Response.CardExpiryDate,
Response.CardHolderName, Response.CardNumber, Response.CurrencyISOCode,
Response.GatewayName, Response.GatewayStatusCode,
Response.GatewayStatusDescription, Response.MerchantID, Response.MessageID,
Response.RRN, Response.StatusCode, Response.StatusDescription, Response.TransactionID
Note: The parameters are ordered alphabetically in the secure hash.
The input to the Secure Hash generation routine 
Y2ExNzE2NDBlZjEyNmZhZjRmMmRmY2Iy1006543210416Card Holder400555******0001400
TestGateway0000Sample+Gateway+DescriptionSTSPayOneM1412345600000
Payment+processed+successfully12345678901234567890
Output
46m8077b8fa7da3e53268h85b5a334678851m5ec6o84af3bu3d6f696e76de8dd