Skip to content

Payments and M-Pesa

Every sale at the POS ends in the Confirm Payment window. This page explains each way a customer can pay (cash, M-Pesa or bank transfer typed in by the cashier, an STK push sent to the customer’s phone, a mix of these, or on credit), how change is worked out, and how to look back at money received. Cashiers, shop managers and accountants all use it.

Start with The POS terminal if you have not yet seen how a sale reaches this window.

  • A sale must exist first. The POS creates the sale as “Pending Payment” and then opens Confirm Payment with the total due.
  • Banks (for M-Pesa and bank transfers). If your shop has banks set up under Settings > Banks, the cashier must choose one whenever an M-Pesa or bank amount is entered. With exactly one bank it is chosen for you. With none, the bank box does not appear. See Settings reference.
  • STK push needs a payout account. The STK Push tab appears only when your shop has at least one active payout account assigned to it. Ask support to set this up for your shop.
  • Internet. Cash and recorded M-Pesa work offline. STK push and bank selection do not. See Offline mode.
  • Cash in the drawer. The window uses today’s cash-at-hand figure to stop you giving more change than the till holds.

It opens automatically after Process Sale in the POS. You can also reopen it for an unpaid sale: Sidebar > Sales > Sales, open the sale and press Pay Now. To review money received afterwards, use Sidebar > Business Analytics > Payments (the Payments page).

  1. In Confirm Payment stay on the Payment tab.
  2. Type the money the customer hands over in Cash.
  3. The summary shows Total Due, Toward bill (cash + M-Pesa) and, if the customer gave too much, Change (cash back).
  4. Press Confirm Payment.

Example. Total is KES 788.80. The customer hands over KES 1,000. Change is KES 211.20. The sale records KES 788.80 as cash received and remembers the change given.

The small refund icon inside the Cash box (tooltip “Set change”) opens Enter Change Amount. Use it the other way round: type the change you want to hand back and the Cash box is filled with the amount to collect (total less M-Pesa, plus that change).

Take an M-Pesa or bank payment that the customer already made

Section titled “Take an M-Pesa or bank payment that the customer already made”

Use this when the customer paid your till, paybill or bank account directly and shows you the message.

  1. Type the amount in M-Pesa / Bank Transfer.
  2. Enter the confirmation code in Transaction Reference. It must be at least 4 characters and it must be new. The same code cannot be used on two payments (“This M-Pesa reference has already been used”).
  3. If banks are listed, pick the Bank that received the money.
  4. Press Confirm Payment.

Example. Total KES 2,500. The customer paid KES 2,500 to your paybill. Amount 2500, reference SJK4L9X2QP, bank “Equity”. Confirm.

If the M-Pesa amount is more than the total and no cash is tendered, the window shows “M-Pesa exceeds the total. Change will be given from the cash drawer.” Check the drawer can cover it.

The M-Pesa box and the cashier typing the reference means the shop is trusting the cashier. Check the message on the customer’s phone, or on your own M-Pesa statement, before you confirm.

  1. Type the cash amount in Cash and the rest in M-Pesa / Bank Transfer.
  2. Add the transaction reference and bank as above.
  3. The total of both must reach the amount due. If it does not, Balance Remaining shows in red and Confirm Payment stays disabled.

Example. Total KES 3,200. Cash KES 1,200 and M-Pesa KES 2,000 with reference TFB2M8R1ZD. Confirm. The M-Pesa amount cannot be more than what is left after the cash (the window trims it down and says “M-Pesa capped”).

Send an STK push (customer pays on their phone)

Section titled “Send an STK push (customer pays on their phone)”
  1. Open the STK Push tab.
  2. Choose the Account. Each entry shows the bank name and account number (with one account it is chosen for you).
  3. Type the customer’s number in Customer Phone Number. The “254” is already typed, so enter the nine digits that follow. Example: 712345678 becomes 254712345678.
  4. The Amount is the sale total and cannot be edited. Press Send STK Push.
  5. The window changes to Waiting for customer PIN and shows the number. The customer gets the M-Pesa prompt and enters their PIN.
  6. When M-Pesa confirms, the window closes by itself and the sale moves on to printing. You do not type a reference. The M-Pesa code is filled in from the confirmation.

While waiting you can:

  • Press Check Status to ask M-Pesa straight away. It says “Still waiting for customer PIN…” if nothing has happened.
  • Press Cancel to stop waiting.
  • Do nothing. The POS also checks every 5 seconds for up to 3 minutes in case the instant message is missed.

If the customer cancels, a wrong PIN is used or the request fails, you see “STK push failed or was cancelled.” and can try again or switch to the Payment tab.

Limits. At most 5 STK pushes can be sent per minute from a till. After you cancel one yourself, the limit drops to 1 per minute for the next minute. The message reads “STK push limit reached (n/minute). Try again in …s.” Repeated failures for the same phone number are also paused for a short time.

If STK push is switched off for your business, the tab shows a warning and a Use Manual Payment button.

Pay part in cash and the rest by STK push (STK Partial)

Section titled “Pay part in cash and the rest by STK push (STK Partial)”
  1. In the Payment tab enter the Cash the customer is handing over.
  2. Enter the remaining amount in M-Pesa / Bank Transfer (it must equal exactly what is left).
  3. A line “STK balance (KES …)” with an STK Partial button appears. Press it.
  4. Check the cash and STK amounts shown, choose the Payout account, type the nine-digit phone and press Send STK Partial.

Example. Total KES 2,500. Customer gives KES 1,000 cash. M-Pesa box: 1,500. Press STK Partial, send to 254712345678. When the customer enters their PIN the sale completes as KES 1,000 cash plus KES 1,500 M-Pesa.

Credit sales do not go through Confirm Payment. In the POS Confirm Sale window press invoice, pick the debtor and press Process Invoice. The amount becomes the customer’s debt. See The POS terminal and Debtors and credit.

A normal sale must be fully paid. The Confirm Payment button stays disabled until cash plus M-Pesa reach the total. There is no “pay part now, rest later” in this window. For that, use an invoice (credit sale) or an installment sale (Installment sales).

  1. Go to Sidebar > Sales > Sales, use the Type and Status filters if needed, and open the sale (status “Pending Payment”).
  2. Press Pay Now. The same Confirm Payment window opens. If part of the cash had already been entered it is prefilled.
  3. After payment the sale reopens as Paid and, if “direct printing” is on, prints.

Sidebar > Business Analytics > Payments. The page shows:

  • Receivables, Payables and Net at the top.
  • A Period filter (Today, This month, Last 30 days, All time) and a Bank filter.
  • A “By method” strip with the total per method.
  • A list with Amount, Date, Type, Source, Method, Ref and Detail.

The Sales page has its own Cash Total, Bank Total (M-Pesa and bank transfers) and Paid columns. See Sales history.

Payment What the sale records When stock goes down
Cash only Cash received (change is stored separately) When you press Confirm Payment
M-Pesa or bank typed in M-Pesa/bank amount, reference, bank When you press Confirm Payment
Cash plus M-Pesa Both amounts When you press Confirm Payment
STK push The amount paid through STK, with the M-Pesa receipt code When M-Pesa confirms
Credit invoice A debt on the customer Immediately
  • A paid sale shows the payment method on the receipt only if “show payment on receipt” is on.
  • Daily cash and M-Pesa totals feed Cash Flow. See Cash flow.
  • If an STK push is pending and the customer abandons it, the sale stays Pending Payment. Pending sales are removed automatically after 48 hours.
  • If eTIMS is on, a customer KRA PIN box and a Submit to eTIMS tick-box can appear in this window. See Tax and eTIMS.
Setting label Default Effect here When to turn it on
show payment on receipt Off Prints the payment method on the receipt. When customers ask for proof of how they paid.
offline sales (hybrid mode) Off Allows cash and recorded M-Pesa when the internet is down. See Offline mode.
enforce customer max debt Off Refuses credit invoices over a customer’s limit. See Customers.

All settings are explained in the Settings reference.

  • Feeds: the sale list, cash flow, daily summary reports and the debtors ledger (for credit).
  • Fed by: the cart and total from The POS terminal; banks from Settings > Banks.
  • Refunds: money given back for returned goods is recorded on a credit note. See Credit notes and returns.
  • Receipts: see Receipts and printing.
Problem Fix
Confirm Payment is greyed out Cash plus M-Pesa is below the total, the reference is shorter than 4 characters, the bank is not chosen, or change is too large for the drawer.
“This M-Pesa reference has already been used” That code was entered on another sale. Check the message and enter the correct code.
No STK Push tab No payout account is assigned to the shop, or you are offline. Ask support.
STK push sent but the customer got nothing Wrong phone number (it must be 254 followed by nine digits), or the customer’s phone is off. Cancel and resend.
Customer paid but the window is still waiting Press Check Status. If M-Pesa says completed the sale finishes. If it keeps waiting, confirm on your M-Pesa statement before resending, to avoid a double payment.
“STK push limit reached” Wait the number of seconds shown.
Closed the payment window by accident The sale is saved as Pending Payment. Open it from the Sales page and press Pay Now.
Change warning about the drawer The till does not hold enough cash. Take less cash tender, or ask for part by M-Pesa.