Vendventory Documentation
v1.0.0 Changelog

POS Payments & Card Machine

This page explains how payment methods work in POS, especially card machine payments. The goal is simple: help staff understand what to click, what to type, and what the app really does.

Important truth: the app does not directly control a physical bank card machine right now. The machine approves the payment outside the app. After that, the cashier records the approved result in POS.

How card machine works today

Simple explanation

Think of the card machine as a separate device. The customer inserts, taps, or swipes the card on that device first. When the machine says approved, the cashier comes back to the POS screen, chooses Card Machine, and records the safe payment proof.

So the machine does the card approval. The app does the sale record, receipt, audit trail, and safe payment evidence.

Even if the machine is physically attached to the same counter computer, the current build still treats it as a separate bank device unless a direct machine integration is built.

Card machine flow chart

Step 1
Open the sale
Cashier opens POS, adds items, and confirms there is an open register session.
Step 2
Use the real machine
Customer pays on the external card machine, not inside the app.
Step 3
Machine approves
Machine gives an approval code, slip number, or printed slip.
Step 4
Choose Card Machine in POS
Cashier selects Card Machine. A popup opens in POS.
Step 5
Enter safe details
Cashier records auth or slip code, last 4 digits, expiry, brand, and optional note.
Step 6
Finish the sale
POS completes the sale, saves safe proof, and prints a receipt with masked card details only.
Easy way to remember it: machine first, POS record second.

What the popup asks for

Main fields
  • Auth or Slip Code: the approval number or machine slip reference.
  • Card Number or Last 4: staff can type the last 4 only. The app keeps only safe masked details.
  • Expiry: card expiry in simple form like 12/28.
  • Card Brand: Visa, Mastercard, UnionPay, and so on.
Optional fields
  • Cardholder: useful if staff wants a cleaner record.
  • Machine or Bank Note: example: Counter 2 machine, HBL terminal, lane 3.
  • Extra Note: any short comment the branch wants to keep.

What the app stores and what it does not

What the app stores
  • Payment method.
  • Auth or slip code.
  • Masked card number like **** **** **** 1111.
  • Last 4 digits.
  • Expiry.
  • Card brand.
  • Optional holder and machine note.
What the app does not keep
  • Full raw card number for long-term storage.
  • CVV.
  • PIN.
  • Track data from the card.

Difference between payment methods

Cash

Cash changes drawer cash and is part of drawer counting.

Card Machine

Real card approval happens outside the app on the machine. POS records safe proof after approval.

Manual Card

Use this only when the payment is already approved outside the app and staff needs to record it safely. It is not a place to store raw full card details.

Wallet or Bank Transfer

POS asks for reference and simple proof before saving the sale.

Online gateways

Stripe, PayPal, JazzCash, and Easypaisa are different from Card Machine. Those methods are hosted payment flows. The app waits for gateway confirmation instead of asking the cashier to type machine details.

Why register session still matters

Simple rule

Even when the customer pays by card machine, the sale still belongs to a cashier shift. That is why an open register session is still required.

  • The sale belongs to that cashier and terminal.
  • The sale appears in sales history and end-of-day summary.
  • Cash drawer cash does not increase from that card payment, but the sale still belongs to the shift.

What the receipt shows

Receipt example

The receipt can show a safe summary like: Card Machine | Visa | **** **** **** 1111 | Exp 12/28 | Auth ABC123.

That gives the branch enough proof to understand the payment without exposing sensitive card data.

How to demo this

Simple demo script
  1. Login as north.cashier@ovion.tech or admin@ovion.tech.
  2. Open POS Terminal and add an item.
  3. Select Card Machine as payment method.
  4. Show the popup and explain that this represents the already-approved machine result.
  5. Enter a fake auth code, last 4 digits, expiry, and brand.
  6. Finish the sale and show the masked payment on the receipt or sales history.
Reviewer note: demo environments usually do not have a real bank terminal attached. In demo mode, the popup shows how staff records the approved machine result.
If the payment is blocked: open POS Errors & Fixes for messages like missing card reference, missing refund reference, or wrong register session.

What would change with real machine integration

Future version idea

A true hardware integration would mean POS sends the amount to the machine, waits for approval from the machine directly, and fills the payment proof automatically. The current build does not do that yet.