SDK Integration Steps

Steps to Integrate Web Application with JavaScript SDK.

Step-1: Include JS and CSS file in header section.

Step-2: Client Ref Id, apiusername, pagename, isreceipt,cd_amount, token variables,pass_key and callbackurl is to be initialized as follows.

Notes: 

  1. 'pagename' should be “CASH_DEPOSIT”, "CASH_WITHDRAWAL", "MINI_STATEMENT", "BALANCE_ENQUIRY",and "ADHAAR_PAY".
  2. 'isreceipt' value should be "true", "false" ( if 'isreceipt’ value is true, ,then you will use our sdk generated receipt else, you will create your own receipt with the data which posted to your calback url.)
  3. token should be an encrypted string.
  4. pass_key is the encrypted string that is shared with you.

Step-3:Enable location on your browser.

Step-4:Finally initialize SDK.

Step-5:This should be added to the page in order to redirect to the initial page after a transaction and perform different transactions according to your requirements.

NOTE: The above content for integration are available in index.html page i.e. the zip file shared with you. And clientrefid value should be unique for each transaction.