How to connect a mada card terminal
Connect a mada payment terminal to the Windows or Android app by USB, so the point of sale sends the amount to it and records the approval. Adding, testing, the last answer, and refunds.
What the app does with a card terminal
Without a terminal, Card at the point of sale only records that the customer paid by card, and the cashier types the amount on the terminal of the bank by hand. With a terminal connected, the app sends the exact amount to it, waits for the card, and creates the invoice only when the terminal approves. Nobody retypes an amount, and every approval is kept with its approval code and RRN to match with the settlement of the bank.
The terminals are the mada terminals that run the mada POS application and accept requests from a cash register over a USB cable. The terminal is connected to the device and is stored on that device only. The website never talks to a terminal.
Add the terminal
Connect the terminal to the device with its USB cable, and make sure its screen shows that the ECR service is listening. Open Payment terminals on the page of the company and press Add a terminal.

- 1NameWhat the cashier will see, such as Front counter.
- 2CableChoose the terminal. Only terminals answering on a USB cable right now are listed.
- 3Search againLooks for terminals again, after you plug the cable in.
- 4Test the connectionAsks the terminal to answer. A terminal that answers shows its Terminal ID.
- 5SaveKeeps the terminal on this device.
The Payment terminals page
Each terminal has a card with its cable and its Terminal ID. A terminal that was never tested says Not tested yet.

- 1Add a terminalAdds another terminal. With several, the cashier picks one at each card sale.
- 2Terminal IDLearned from the terminal by the test. Not tested yet until then.
- 3Last answerShows what the terminal reports about its last request. Use it after a lost answer to learn whether the card was charged.
- 4RefundRefunds a card payment that never became an invoice, like an approval whose sale was abandoned.
- 5Edit and DeleteChange the name or the cable, or remove the terminal from this device only.
Paying by card at the point of sale
In the Create invoice window press Card. With one terminal the amount goes straight to it, and with several the cashier picks one. The window says the amount was sent and waits for the card of the customer, and it cannot be closed until the terminal answers, so a payment is never left halfway.
- Approved
- The invoice is created as a card sale, and the window shows the card, the approval code, and the RRN.
- Declined or cancelled
- Nothing is created. The window shows the reason and lets the cashier try again or cancel, and the cart stays as it was.
- Cash
- A cash sale never touches the terminal.
Money moves once
A card terminal is the one place where a lost message could cost money, so the app never guesses. It sends one request at a time, it sends nothing while an amount is on the screen of the terminal, and it counts a payment only when the answer of the terminal matches the request. If the cable drops or the answer is lost, the app asks the terminal what happened before anything else is sent, and tells the cashier plainly when a card may have been charged.
- A missed approval
- Last answer reads what the terminal did last and records an approval the device missed, so it reaches the server and can be refunded.
- Only the last four digits
- Of the card, the app keeps the last four digits and nothing more.
- On the Card payments page
- Every approval is sent to the server and listed there, with or without an invoice.
Refunds
The money of a card sale goes back by returning the sale. Return the invoice in the app on the device that took the payment and choose Card: the app refunds the total of the return on the same terminal, against the original payment. The return is created only after the terminal approves the refund.
The Refund button on the Payment terminals page is for one case only: a card payment that has no invoice. The website cannot refund a card that was charged on a terminal, because it has no terminal. There, such a sale is returned in cash, or in the app on the device that took the payment.
Questions about card terminals
Do I need a card terminal to accept cards?
No. Without one, Card records how the customer paid and you take the payment on the terminal of the bank as usual. A connected terminal removes the retyping and records every approval.
Does the card terminal work when the internet is down?
The app does not need the internet to talk to the terminal, because they are connected by a cable. Whether a card is approved depends on the connection of the terminal itself to the bank.
Can two devices share one card terminal?
A terminal is connected to one device by its cable, and it is saved on that device. Another counter needs its own terminal.