QRIS Integration & Testing
QRIS use in the integration and testing process originates from ShopeePay. However, QRIS ShopeePay also can receive payment from other Partners, such as OVO, DANA, LinkAja, and Mobile Banking that support QR payment.
Integration Steps and API Used
- Perform API Order Registration integration.
- SNAP: Registration - API QRIS SNAP.
- Redirect: QRIS - API Checkout.
- Receive NICEPAY callback and push notification.
- Perform API Inquiry Status integration.
- Redirect: Status Inquiry - API Checkout.
- Optional: perform API Cancel integration to cancel transaction.
- Redirect: Cancel - API Checkout.
Credential for Testing QRIS
QRIS Name | Description |
|---|---|
ShopeePay | Username: nicepaytest01 Password: NicepayTest01 ShopeePay PIN: 142536 |
Merchants must whitelist the IP address of the device used for testing through the ShopeePay or Shopee application.
Please contact the NICEPAY Integration Team for further information.
QRIS Testing Guide
QRIS Name | Test Step | Rules and Condition |
|---|---|---|
ShopeePay |
| For QR code:
For transaction cancellation conditions, which are:
|
Failed Transaction Possible Reason
- Scan wrong QR code on ShopeePay application.
- Order does not match.
- Transaction already expired.
Integration Checklist & Test Case
Implement inquiry status after receiving the callback.
Implement inquiry status after receiving the notification inside dbProcessUrl.
Review payment log.
Review firewall setting (eg. cloudflare for dbprocessUrl setting).
Check merchantToken implementation.
Execute test scenarios in Development Environment.
Execute test scenarios in Production Environment. Get Sample Scenario
Review Error Handling (Timeout, Failed, Negative Case).
Best Practice
- For Merchant testing, can use iMid = IONPAYTEST and set shopId = NICEPAY parameter.
- Support for fully QRIS cancellation can use cancelType link code.
- When notification is received on your dbProcessUrl, NICEPAY strongly recommend Merchant to verify the notification using the Inquiry API.
- Notification Handling is helpful to minimalize Fraud actions, NICEPAY strongly recommends Merchant to verify the Notification Handling.
See also
Visit the QRIS Payment Flow page to find out the system process during payment with the QRIS.
Visit the QRIS Type page to find out the QRIS type used on NICEPAY.
Visit the QRIS Glossary page to find out the particular term used on QRIS .
Visit the QRIS FAQ page if you want to find out frequently asked questions related to QRIS.