sadhaiv2.2.0

Product Changelog

All notable updates, new features, and improvements across the Sadhai platform.

v2.2.0

Latest

Pay at the counter, or scan the shop QR

Added

  • Pay at the counter: Order now and pay when you collect, on the website, in the app, at the kiosk and at the counter.
  • Shop QR: Scan the shop QR and pay. The barista checks the payment arrived and presses Payment received before the coffee is handed over. The owner and managers can check them centrally too.

v2.1.1

Fonepay works with just the merchant code and secret key

Added

  • Fonepay web payment: The QR opens Fonepay’s payment page on the live server (clientapi.fonepay.com) and the order starts when Fonepay confirms. The QR service with its own login is still available.

v2.1.0

Payments rebuilt: Fonepay dynamic QR only

Changed

  • One way to pay online: Every order gets its own Fonepay QR for the exact amount. The order starts the moment Fonepay says it is paid.
  • Check connection: Settings, Payments shows exactly what Fonepay answered, so a wrong login or environment is easy to see.

Changed

  • Older payment options removed: eSewa, NepalPay, the web payment redirect and the printed-QR fallback are gone.

v2.0.3

Fonepay and NepalPay QR from your merchant and terminal ID

Added

  • QR with no QR login: The kiosk and counter build a Fonepay-format QR for the exact amount from the merchant ID and terminal ID. The barista presses Payment received once it is paid.

v2.0.2

Real dynamic QR for Fonepay and NepalPay

Added

  • Real dynamic QR: Fonepay and NepalPay now show their own QR for the exact amount, and the order starts by itself when it is paid. Needs the QR user name and password from the gateway.
  • Your printed QR: Without those, the kiosk and counter can make a QR for the exact amount from the shop QR. The barista presses Payment received.

v2.0.1

NepalPay QR needs only a merchant code and secret key

Fixed

  • NepalPay QR: It now works with just the merchant code and secret key you were given, on the website, app, kiosk and counter.

v2.0.0

Pay by QR in a window, NepalPay QR, one set of ordering rules

Added

  • NepalPay QR: Customers scan a QR with any NepalPay bank or wallet app and pay the exact amount.
  • Real Fonepay QR: Fonepay now shows a real QR for the exact amount when its QR service is set up.
  • Pay window: The QR opens as a window on the same page, with a clear status. It closes by itself once you have paid, and the order goes to the barista.
  • Order flow: The owner sets how ordering works for the app, website, kiosk, kiosk QR and counter in one place, and every screen follows it.
  • Live menu: Change the menu, an add-on or a price and every open screen shows it straight away.
  • 3D coffee: Turn the cup on the home page, try a hot, flavoured or iced drink, and order from it.

Changed

  • Dashboard menu: The sidebar now has groups, pages and sub-pages, with a path at the top, so every part of Settings, Staff, Inventory and the home page editor is its own page.

Fixed

  • New order at the counter: The New order screen no longer crashes when it opens.
  • Kiosk payment QR: The kiosk shows the real payment QR, not a test one.

v1.9.0

Pay with eSewa or Fonepay

Added

  • eSewa and Fonepay: Pay online on the website, in the app, at the kiosk by scanning a QR, or at the counter. You can also buy a 10-cup pass online. Cash and passes still work.
  • Safer online orders: An order waits for the payment, goes to the barista only when it is confirmed, and is cancelled if nobody pays within 15 minutes.

v1.8.0

Simpler settings, a home page you can edit, and one rule for sales

Changed

  • One rule for sales: A sale is an order that has been handed over. Every report agrees, and orders still in the queue show as waiting to be collected.
  • Home page editor matches the home page: Change the main picture, headline, buttons, banner, menu pictures and the partner and investor pages, with a preview.
  • Settings hold only what is used: Prices and rules, app and company details, and data backup.

Fixed

  • SMS and push notifications removed: They are gone from the server, the website and the apps for now. Order updates still appear live and in the inbox.

v1.7.0

No online payments: cash at the counter or a 10-cup pass

Changed

  • Cash or pass only: Orders are paid with cash when the customer collects, or with a 10-cup pass. Orders go straight to the station when placed. Customers cannot cancel; the station can decline an order with a reason.
  • Passes are sold at the counter: A 10-cup pass is sold for cash at any station counter and appears in the customer account at once.

Fixed

  • Removed every payment gateway: eSewa, Khalti and Fonepay are removed from the API, apps, kiosk, counter POS, owner settings, legal pages and store listings. Older orders stay in reports as "Online (old)".

v1.6.8

Official eSewa ePay v2 Gateway Integration & QR Payment Retirement

Added

  • Official eSewa ePay v2 Web & App Integration: Implemented the official eSewa ePay v2 checkout protocol (developer.esewa.com.np/pages/Epay) with HMAC-SHA256 signature generation, auto-submitting POST form, return callback signature verification, and server-to-server transaction status lookup API across Web, Android, and 10-cup pass purchases.
  • eSewa Control Center in Owner Studio: Added dedicated eSewa ePay settings panel with master switch, auto/live/sandbox/off mode toggles, credential masking, status check connectivity tester, and 30-day analytics.

Changed

  • Retirement of Alternative Gateways & Payment QR Codes: Completely removed all legacy and unofficial payment gateway integrations (Fonepay, Khalti) and all payment QR functionality. Payment options are now strictly Cash at counter, official eSewa (ePay v2), and 10-cup passes.

v1.6.7

Latest

Official eSewa ePay v2, Khalti KPG-2 & Fonepay PG + Dynamic QR, Switchable Gateways & Separated Payment/SMS Dashboard

Added

  • Official eSewa ePay v2, Khalti KPG-2 & Fonepay PG + Dynamic QR: Full official implementation of eSewa ePay v2 (HMAC-SHA256 signed form POST, callback verification & status lookup API), Khalti KPG-2 (/epayment/initiate/ & /epayment/lookup/ with pidx checkout URL), and Fonepay Web/Flutter PG (HMAC-SHA512 merchantRequest) alongside scannable Dynamic QR codes on Web, Android, iOS, Kiosk, and Counter POS.
  • Switchable Payment Gateways & SMS Features: Every payment gateway (Fonepay, eSewa, Khalti, Cash) and NestSMS feature (Master SMS, Phone OTP, Order-Ready SMS, Welcome/Referral SMS) can now be switched ON or OFF and toggled between Sandbox and Live independently in real time.
  • Separated Payment & SMS Gateway Control Center: New dedicated Payment & SMS dashboard in Owner Admin with 6 organized tabs, 30-day transaction and SMS KPIs, one-click Sandbox/Live endpoint presets, copyable callback/webhook URLs, and interactive live QR test previews.

Fixed

  • Payment Callback Redirect & eSewa Query Normalization: Fixed eSewa and Khalti browser callback redirects to /order/:id and handled eSewa callback ?data= query string formatting.

v1.6.6

Fonepay Dynamic QR Fix, eSewa & Khalti QR Gateways, NestSMS OTP, and Non-Breachable Marketing Welcome & Referrals

Added

  • eSewa & Khalti Dynamic QR Payment Gateways: Pay with Fonepay QR, eSewa QR, or Khalti QR across Web, Android, Kiosk, Station POS, and 10-cup Pass purchases, complete with live status polling, signed callbacks/webhooks, and Owner settlement reconciliation.
  • NestSMS Gateway & Phone Verification: Integrated NestSMS (api.nestsms.com) for 6-digit SMS OTP phone verification, optional order-ready SMS alerts, and one-click Owner Studio connection tests.
  • Marketing -> Welcome & Referrals Console: Moved Welcome offers and referrals into the Marketing section for Owners and Managers, with live KPIs, referral ledger, active coupon audit, and one-click revocation.

Security

  • Six Non-Breachable Anti-Loss Guardrails: Enforced single-drink base-price discount caps (excluding add-ons and food), non-stacking with Offer of the Day or Limited Drops, minimum spend floors, permanent SHA-256 phone hash registry blocking delete-and-recreate loops, and qualifying full-price paid order verification before referral rewards unlock.

Fixed

  • Fonepay Dynamic QR Hardening: Fixed PRN length truncation with compact 24-character alphanumeric PRNs, strict paymentStatus verification, exact amount validation, and sanitized remarks.

v1.6.5

Offer of the Day Restored, Coupon Code at Checkout, Automatic Coupons Retired

Changed

  • Offer of the day restored: Back on Home and the Offers tab on web and mobile.
  • Automatic coupons retired: Free first cup and the 30% off ladder are no longer issued; existing ones were cleared.
  • Coupon code box: Enter a coupon code on the Offers tab or at checkout on web and mobile.

v1.6.4

Promo Code on Offers, Offer of the Day Removed, Home Polish

Added

  • Promo code section on Offers: Enter a promo code once on the Offers tab on web and mobile. It is validated and offered as an option at checkout.

Changed

  • Offer of the day removed: Removed from the Home page and the Offers tab on both platforms so Home stays simple.
  • Home layout polish: Shortcut badges are no longer clipped and heading line heights are more comfortable, consistent across web and mobile.

Fixed

  • Offers endpoint error: The central offers endpoint no longer fails with a server error.

v1.6.3

10-Cup Pass Wallet, Live Sync, Dedicated Passes Reporting, Station Kiosk QR & Dual Keyboards

Added

  • Dedicated Passes & Wallet Report: New financial reporting section on owner and manager dashboards tracking passes sold, revenue, cups redeemed, redemption rates, outstanding NPR liabilities, breakage profit from expired cups, station redemption breakdown with reimbursement estimations, and full searchable pass ledger with CSV export.
  • Kiosk Station QR Code ("Order on Phone"): Prominent station-unique QR code displayed on the kiosk idle attract screen and top navigation bar, allowing customers to scan with their phone camera and order directly from that station on mobile web.
  • Kiosk On-Screen QWERTY & Number Keyboards: Touch-optimized on-screen QWERTY keyboard with shift, backspace, and space for entering customer name on touchscreens without physical keyboards, paired with a large numeric keypad for mobile phone numbers.
  • Centralized Offers Endpoint (/offers): Unified backend endpoint delivering network-wide and station-specific daily offers, limited monthly drops, and pass configurations centrally to both web and mobile apps.
  • Public Web Changelog Page (/changelog): Dedicated release history and update portal keeping customers, partners, and operators informed on all ongoing platform improvements.

Changed

  • Stacked Wallet UI for 10-Cup Passes: When multiple passes are purchased, passes are stacked into an organized digital wallet. Customers see total available cups at a glance, the currently active pass on top with its SP code and cup dots, and queued passes stacked neatly behind with one-tap switching.
  • Active Coupons & Deals Display: Harmonized My Coupons section across web and mobile showing clear validity dates, discount badges, and checkout auto-application instructions.

Fixed

  • Live Pass Updating After Checkout: Implemented state invalidation signal (passEpoch) in CartState so that checking out with a pass immediately updates remaining cup counts across the Cart, Offers screen, and Pass wallet without requiring app restart or manual pull-to-refresh.
  • Android Pickup Time Display: Fixed pickup times failing to appear on Android by binding station load events and guaranteeing the pickup window section ("As soon as possible" / "Later today") renders consistently for all active stations.

v1.6.2

Simplified Home Page and Unified Web & Mobile Checkout

Changed

  • Simplified Home Page: Removed unnecessary marketing clutter from the web home page: stripped the simulated 90-second BrewLab timer, profile figures, and redundant partner recruitment banners. Unified data and pricing identically across platforms.
  • Streamlined Checkout Experience: Removed promo code input from mobile and web checkout to keep ordering fast and focused on active daily deals and 10-cup passes.

v1.6.1

Owner Data Management, Full CRUD User Administration, Menu Studio & Android Production Build

Added

  • Owner Data Backup, Restore & Selective Reset: One-click full JSON database backup export, password-protected restore with validation, and granular selective reset for testing and audits.
  • User & Manager Administration Console: Full CRUD management console for users and outlet managers with role tabs, search filters, credential updates, and safety protections.
  • Menu Studio & Outlet-Specific Pricing: Full CRUD for menu categories and products, photo uploading with URL preview, station-level price overrides, and recipe inventory linkage.
  • Production Android APK Toolchain: Configured OpenJDK 17 and Android SDK 36 toolchain for release builds with ProGuard obfuscation and resource shrinking.

Fixed

  • Nginx CORS Preflight Headers: Configured cross-origin resource sharing headers on sadhaicoffee.com to support direct API calls from mobile apps and local development.
  • Flutter UI Assertion & Overflow Bugs: Resolved RoundedRectangleBorder assertion in category boxes and right-side overflow on banner headings.

v1.6.0

Modern Home Page, Illustrated Assets & Dynamic CMS

Added

  • New Illustrated Home Page: Live hero, animated illustrated beans and baristas, 90-second brew simulator, live counters finder with nearest-first geolocation, and dynamic CMS content editor in dashboard.

Fixed

  • Station Operating Hours Validation: Station hours now validate cleanly with 24-hour time formats, preventing database crashes on save.

v1.5.0

Scheduled Pickup Window & Station Safety Controls

Added

  • Pickup Later Today: Pre-order coffee for pickup at a specific time later in the day within outlet opening hours.
  • Station Status Lockdown: Closed and paused stations are automatically locked with clear notices preventing invalid orders.

v1.4.0

Fonepay QR Payment & 4-Digit Pickup Handover Verification

Added

  • Fonepay QR Direct Integration: Nepal-native QR payment integration supporting all mobile banking and digital wallet apps.
  • 4-Digit Handover Verification: Secure pickup code spoken at the counter before drinks are handed over by the barista.