RazorPay

This article describes the implementation of the Razorpay plugin in LS Pay and how to communicate with the Razorpay Ezetap application that is hosted on the PAX terminal.

Setup

Pre-requisites

  • LS Hardware Station or LS Pay Service setup with the Razorpay plugin setup as an EFT device.
  • PAX A920 or A50 Android device with the Razorpay Ezetap application installed.

Terminal settings

  • Razorpay Ezetap application Login.
    • Username:1231030255
    • Password:123456Q
  • General Android Settings.

    • Password: pax9876@@

Connection

The Razorpay plugin uses an external API to communicate with the Razorpay Ezetap Server which routes the request to the payment terminal.

Plugin Settings

  • Terminal ID: The serial number of the terminal combined with the terminal OS - (string, default: 1700447062|ezetap_android)
  • Username: API username provided to you by Razorpay, same as login username - (string, default: 1231030255)

  • HttpEndpoint: API V.3 Endpoint used for the Pay, Status, Cancel - (string, default: https://demo.ezetap.com/api/3.0/p2padapter/ )

  • Endpoint: API V.2 Endpoint used for the Refund, Void, GetLastTrans, GetReceipt- (string, default: https://demo.ezetap.com/api/2.0/ )

  • API Key: API key provided by Razorpay used for all API requests- (string, default: Insert API Key here)

  • Payment Mode: Mode of payment you want to use on the terminal; CASH, CARD, UPI, BHARATQR, ALL. - (string, default: ALL)

  • Timeout Value: Timeout in seconds. If triggered the transaction is cancelled automatically on the terminal. - (int, default: 180)

  • Delay Value: Delay in seconds between polling the transaction status. - (int, default: 1)

  • Receipt Width: Width of the EFT receipts. - (int, default: 40)

EFT features

  • Purchase
    • Tip on terminal supported.
  • Refund
    • Referenced refund only.
  • Void
    • Possible to void any transaction.
  • Cancel
    • It is possible to cancel the ongoing transaction from the POS.
  • Get last transaction
  • ZReport.