Test your integration

Overview

PhaseGoal
1 - Mock appBuild Intent integration on any Android device - no Peach Payments terminal required
2 - UAT terminalTest on Sunmi hardware with UAT Payment App
3 - ProductionPublish POS APK to Sunmi; Peach Payments enables on fleet

Phase 1 - Mock Payments App (any Android device)

Use the Mock Payments App to develop and test your POS against simulated Payment App responses before you have a terminal.

  • Download and install the Mock APK on any Android phone or tablet.
  • Install your POS app on the same device.
  • No UAT account required for mock-only development.
  • No Maven registry token required - add com.peach:intent_api from the public GitLab Maven repository.

Run through sale, refund, void, and lookup callbacks against the mock host.

Phase 2 - UAT terminal

  1. Request a UAT account and login PIN from support.
  2. Download and install the UAT Payment App APK on your Sunmi device.
  3. Install your POS app on the same terminal.
  4. Log in to the UAT Payment App with your PIN.

UAT approval rules

AmountResult
Round values (for example, R 100.00, R 50.00)Live approval
Non-round values (for example, R 10.50)Decline (emulator behaviour)

Use non-round amounts to test decline handling in your POS. For Intent error codes during failed flows, see Intent error codes.

Test matrix

Scenario
Sale - approved (round amount)
Sale - declined (non-round amount)
Sale - cancel before card tap
Refund (if applicable)
Void (if applicable)
Crash recovery / lastTransaction()
merchantTransactionId visible in Dashboard
disableReceiptingOnOutcome auto-return to POS
Webhook handling (if applicable)

Phase 3 - production handoff

When the test matrix is complete, proceed to Deploy your POS app (Sunmi).

Peach Payments confirms readiness and enables your app on merchant terminals.