Skip to content
Off-grid payment gateway

Off-grid payment gateway

Pay Anywhere. No Network Needed.

Created on 10th December 2025

•

Off-grid payment gateway

Off-grid payment gateway

Pay Anywhere. No Network Needed.

The problem Off-grid payment gateway solves

▪ Many small merchants and local businesses in areas with poor or unreliable internet connectivity face challenges in accepting digital payments.
▪ Traditional online payment systems require active internet, making them unusable in offline scenarios.
▪ Customers often carry cash due to lack of offline digital alternatives, leading to inefficiency and security risks.
▪ There is a need for a reliable, fast, and secure offline digital payment system that works without internet.

Challenges we ran into

  1. Duplicate API Requests
    Payment and receive-payment requests were firing twice.
    Caused by API calls being triggered during widget rebuilds.
    Fixed by moving requests into isolated functions and ensuring they run only on button press.

  2. Balance Not Updating
    Portfolio page displayed old balance after transactions.
    The app relied on cached state instead of fetching new data.
    Solved by reloading balance on initState() and after every successful payment.

  3. Device-to-Device Connectivity Issues
    Inconsistent connection between hotspot-host and client device.
    QR-based IP detection sometimes picked the wrong interface.
    Fixed by adding retry logic, validating IP flow, and standardizing request formats.

  4. QR Scan Not Updating IP
    Toast showed correct IP but app still used old value.
    IP was updated locally but not passed through navigation.
    Fixed by passing IP via constructors and removing outdated variables.

  5. Permission & Hotspot Problems
    Camera, Wi-Fi, and hotspot permissions behaved differently on devices.
    Solved using permission_handler and a centralized permission-check routine.

  6. JSON Parsing Errors

API response numbers caused decoding failures.

Solved by wrapping parsing in try/catch and standardizing backend JSON format.

Discussion

Builders also viewed

See more projects on Devfolio