Skip to main content

Payment Methods

Swift POS supports four payment methods. All payments follow the same underlying flow: a Shopify draft order is created, then completed once payment is confirmed.

Cash

The simplest payment method. When selected:

  1. The total amount is displayed
  2. Enter the amount tendered by the customer
  3. Change due is calculated automatically
  4. Click Confirm to complete the order

Cash payments are tracked in the cash register if one is open.

UPI / QR Code

For UPI payments via Razorpay:

  1. A QR code is generated and displayed on screen
  2. The customer scans the QR with their payment app
  3. Swift POS polls for payment confirmation every 3 seconds
  4. Once confirmed, the order completes automatically
info

UPI/QR payments require Razorpay to be configured in your store settings. The QR code has a configurable expiry time.

Card

Card payments are processed through the Razorpay SDK:

  1. The Razorpay payment form opens
  2. The customer enters their card details (or uses saved cards)
  3. Payment is processed through Razorpay's secure gateway
  4. On success, the order completes automatically

Payment Terminal

For hardware terminal payments via Ezetap:

  1. The payment request is sent to the connected Ezetap terminal
  2. The customer taps/inserts/swipes their card on the terminal
  3. Swift POS polls the terminal status every 5 seconds
  4. A Cancel button is available if the transaction needs to be aborted
  5. Once the terminal confirms payment, the order completes

Payment Configuration

Payment methods are configured from the Shopify admin. The backend reads the configuration and enables the appropriate payment options in the POS.

Idempotency

All payment operations use idempotency keys to prevent duplicate charges. If a network timeout occurs during payment, retrying the same operation is safe -- duplicate orders will not be created.

For splitting an order across multiple payment methods, see Split Payments.