Direct Debit Integration & Testing
10 min
Integration Steps and API Used
- Perform Order Registration integration.
- Redirect: Direct Debit - API Checkout.
- Perform API Payment Charge integration.
- Redirect: Payment - API Checkout.
- Receive NICEPAY callback and push notification.
- Perform API Check Status integration.
- Redirect: Status Inquiry - API Checkout.
- Optional: perform API Cancel integration to cancel the transaction.
- Redirect: Cancel - API Checkout.
Direct Debit Testing Guide
- Use Merchant or Sandbox MID (TNICECP041).
- Create Jenius Pay registration.
- Perform hit using NICEPAY Payment API.
- Input ID Cashtag and Jenius Pay TXID.
- Perform payment confirmation.
Failed Transaction Possible Reason
- Run into Connection Time Out.
- Receive basic error on Bank.
- Input the wrong Cashtag.
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
- When notification is received on your dbProcessUrl, NICEPAY strongly recommends Merchant to verify the notification by 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 Direct Debit Payment Flow page to find out the system process during payment with Direct Debit.
Visit the Direct Debit Feature page to find out the transaction features on the Direct Debit.