SDK Integration Steps
Steps to Integrate Web Application with JavaScript SDK.
Step-1: Include JS and CSS file in header section.
Step-2: Client Id, Client Secret, Client Ref Id, apiusername, pagename, isreceipt variables to be initialized and callbackurl is to call the values.
Step-3:Enable location on your browser.
Step-4:Finally initialize SDK.
Step-5:This is to be added in the page in-order to return back 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. |
Pass the client id and client secret into the script with the property name along with the other options.
client_id = ""; |
Note: The above mentioned client_id and client_secret has to be provided for effective usage. |
Sample data are passed through code.
|
Note: Add script tag in the above code. |