Next : Decrypting a payment response

Creating a Payment Request

You need to create a map of parameters which need to be sent to the iPayy Payment API for processing the payment.

URL(ApplicationName): http://api.ipayy.com/v001/c/oc/dopayment?gh=<encrypted String>
 

Payment Request Parameters

The following are the list of parameters that can be sent to the iPayy Web Payment API.

PARAMETER NAMEMIN LENGTHMAX LENGTHOPTIONAL/MANDATORYPARAMETER DESCRIPTION
r840MANDATORYTransaction request id.
The request id is unique for a given merchant and application. The request id should not be repeated for a given merchant and application. It should be unique and between 8-40 characters.
mMANDATORYMerchant id / key
The merchant id is generated by the iPayy system when the merchant is provisioned. It uniquely identifies the merchant in the system.
aMANDATORYApplication id / key
The application id is generated by the iPayy system when the application is provisioned for the merchant. Along with the merchant-key, it uniquely identifies the application in the system.
in1255MANDATORYItem Name
This is displayed in the OTP verification page.(should be between 1-255 character)
ipMANDATORYItem Price (in Rs.)
This is displayed in the OTP verification page. The price should be between the lowest and the highest price-point set by the operator.
icOPTIONALItem Code / ID
Item ID (generated by the merchant). Useful for waiver and future support. If this value is not passed, then the item name (in) value is used as the item code.
cMANDATORYItem Currency Code
Currently, only “INR” is supported.
ruOPTIONALRedirect URL
Its a merchant callback URL to which control is handed back to the merchant from iPayy server.

 

Encrypting the Request Parameters

The payment request needs to be encrypted using the iPayy Encryption Library available for different languages.

Choose your language below to see how to encrypt the parameters.

Java


PHP

Python

With easy install

  1. Download the egg file
  2. Run the following command  easy_install CryptoClient-0.1-py2.7.egg

Installing from source

  1. Download this zip file and extract it
  2. Run the following command python setup.py install

 

.NET

 

 

 

Next : Decrypting a payment response