OKPaid Logo
OKPaid Help
ភាសាខ្មែរ
Go to App

Barcode Scanning

Add products quickly by scanning barcodes with your camera

Last updated: February 11, 2026

Barcode Scanning

OKPaid can scan product barcodes using your device camera. This helps you add products quickly without typing.

You can scan barcodes in two ways:

  • Camera scanning: Use your device’s built-in camera (works in Chrome, Edge, and Safari)
  • Manual entry: Type the barcode number directly

How It Works

  1. You scan a barcode with your camera
  2. OKPaid looks up the product in the our database
  3. If found, product details fill in automatically
  4. You review and save the product

Note: Barcode lookup works best for food products. Other products may not have data available.

Scan a Barcode to Add a Product

Step 1: Open Barcode Scanner

  1. Go to Products in the sidebar
  2. Click Scan Barcode

Scan barcode button

Step 2: Allow Camera Access

Your browser will ask for camera permission. Click Allow.

Camera blocked in the scanner

Chrome draws its permission prompt outside the page, so the screen above is what OKPaid can show here: the message the scanner puts up when the camera is blocked. See Barcode Problems to unblock it in Chrome, Firefox or Safari.

Step 3: Scan the Barcode

Using Camera:

  1. Click Scan with Camera button
  2. Allow camera permission when asked
  3. Hold the product barcode in front of your camera
  4. Keep the barcode inside the scanning frame
  5. Hold steady until the scanner detects the barcode

Camera scanning interface

Using Manual Entry:

  1. Type the barcode number into the input field
  2. Press Enter or click Search
  3. The system looks up the barcode

Manual barcode entry

Note: Camera scanning works in Chrome, Edge, and Safari. If using Firefox or another browser, use manual entry instead.

Step 4: Review Product Data

When the barcode is detected:

  • If product data is found, the form fills automatically
  • Review the name, description, and other details
  • Add your selling price (this is not in the database)
  • Click Save

Product data found

If Product Not Found

If the barcode is not in the database:

  • The barcode number still fills in automatically
  • You need to enter the product name and other details manually
  • Click Save when done

Barcode not found in the scanner

Barcode Settings

You can customize how barcode scanning works.

Access Barcode Settings

  1. Click Organization in the sidebar
  2. Click Barcode Scanning under Store setup

Barcode settings

Available Settings

SettingDescription
Auto-lookupAutomatically search for product data when barcode is scanned
Sound feedbackPlay a sound when barcode is detected
VibrationVibrate device when barcode is detected

Supported Barcode Types

OKPaid supports these barcode formats:

  • EAN-13 (most common for products)
  • EAN-8
  • UPC-A
  • UPC-E
  • Code 128
  • Code 39

Tips for Better Scanning

Tip: Make sure you have good lighting. Barcodes are hard to scan in dim light.

Tip: Hold your device about 15-20 cm (6-8 inches) from the barcode.

Tip: Keep your hand steady. Moving too much makes scanning difficult.

Tip: Clean the camera lens if scanning is slow.

Troubleshooting

Camera Not Working

  1. Check that you allowed camera permission
  2. Check if your browser supports camera scanning (Chrome 83+, Edge 83+, Safari 17.4+)
  3. Try refreshing the page
  4. Make sure no other app is using the camera
  5. If using Firefox, use manual entry instead (camera not supported)

Barcode Not Detected

  1. Check the lighting - more light is better
  2. Make sure the barcode is not damaged or wrinkled
  3. Try holding the device closer or further
  4. Clean the camera lens

Product Data Not Found

The our database does not have all products. You can:

  1. Enter the product details manually
  2. The barcode will still be saved for future orders

Common Questions

Does barcode scanning use the internet? Yes. The product lookup requires an internet connection.

Can I scan barcodes when creating orders? Yes! In the order form, you can scan barcodes to add products quickly.

What if the product data is wrong? You can edit any details before saving. The database is community-maintained and may have errors.

Next Steps