Oliver POS – WooCommerce POS for iPhone, iPad & Android changelog

By Oliver POS, on WordPress.org since 2019. 700+ active installs.

Browse code

17 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 4.9.4
    • The Billing screen no longer tells paying merchants they are on Free when the Oliver POS billing service is unreachable. It now shows your last confirmed plan with a clear “temporarily unreachable” banner, and an activation code entered during an outage gets “your code is still valid — try again in a few minutes” instead of a generic error. An already-used code now says so.
    • Fewer background calls to the billing service. The 15-minute plan resync only runs while a register has polled the site in the last 24 hours, and backs off while the service is reported unreachable.
    Source Diff vs 4.9.3
  2. 4.9.3
    • Paid plan changes now reach every paired device without a wp-admin visit. A 15-minute entitlement resync pulls the live plan from Phoenix and bumps billing_rev when it changes, so an upgrade made in the Stripe portal (or on another device) shows up on the register. A device’s own entitlement read is also a change-detection point, so the first register that refreshes notifies the rest.
    Source Diff vs 4.9.2
  3. 4.9.2
    • Fixed station activation failing with a 500 for web registers. The web register reports the browser user-agent as its device OS; on strict-mode MySQL the over-length value made the activation write fail and the pairing flow errored at the final step. Device metadata is now capped to the column widths before writing — cosmetic metadata can never block activation.
    Source Diff vs 4.9.1
  4. 4.9.1
    • Fixed web-register pairing failing with “Station row has no bound WordPress user.” Stations created through the classic “Pair a device” / QR flow never stamp a WordPress user on the station row, so the web register’s bearer authentication rejected every request after an otherwise successful pair. Bearer auth now falls back to the owner of the station’s WooCommerce API key — the same user the legacy key-based auth resolves — and persists the binding on first use.
    Source Diff vs 4.9.0
  5. 4.9.0
    • Security: WooCommerce API key permissions are now enforced on Oliver POS REST requests. A WooCommerce key’s read/write scope is checked against the request method before the key is allowed to act as the store owner, so a read-only key can no longer perform writes through the Oliver POS bridge. The REST-route gate now matches on the request path only (and honours the plain-permalink rest_route query var), so a crafted query string such as admin-ajax.php?x=wp-json/oliver-pos/ can no longer trip key authentication outside the plugin’s own namespace.
    • The billing page now self-heals after Stripe Checkout. Returning from Checkout forces a fresh reconcile with Stripe and short-polls for the webhook, so your plan upgrades on screen instead of sitting on a stale “Free” read. A new “Refresh plan from Stripe” recovery action re-pulls the live subscription on demand, and free-to-paid transitions now render the full plan card rather than just the badge label.
    • Admin-issued partial refunds now reach the app right away. Partial refunds don’t change an order’s status, so the device used to miss them until the next periodic catch-up sync. The order-feed heartbeat now updates on every refund, so the app reconciles on its next poll.
    • Fixed receipt-template settings failing to save. The save request now sends its action and nonce correctly, and a partial save preserves your existing receipt types instead of clearing them.
    Source Diff vs 4.8.3
  6. 4.8.3
    • Pairing no longer trips the server-health guard. The device hits /meta to detect the plugin during URL pairing and /stations/* to activate, but the overload protection could self-trip these low-volume, critical endpoints with a 503 — surfacing a misleading “Server is overloaded; retry in 60 seconds” mid-pairing. Both endpoints are now exempt from the server-health throttle so pairing stays reliable.
    • Accurate app download links during onboarding. The onboarding download buttons now point at the marketing-site download page (which hosts the direct download and TestFlight link) while the iOS App Store listing isn’t live yet, and the macOS button shows a “Coming soon” pill instead of linking to an unavailable app.
    Source Diff vs 4.8.2
  7. 4.8.2
    • Refunds now keep POS and WooCommerce stock in sync. When you refunded a POS order with restocking enabled — especially from the WooCommerce admin — WooCommerce restored the overall product stock, but the per-outlet count that the POS app shows was left at its pre-refund value, so POS and WooCommerce disagreed. The plugin now restores per-outlet stock automatically on every refund (from the app, the WooCommerce admin, or the REST API), crediting the outlet the sale was deducted from, writing a stock-log entry and an order note, and recalculating the overall stock figure. Issued refunds are credited exactly once.
    • Removed a redundant, broken app-side restock. Per-outlet refund restock is now handled entirely on the server, so the POS app no longer issues its own stock adjustment after a refund (which previously double-counted in theory and silently failed in practice). Manual stock adjustments — receiving, counts, corrections and transfers — are unaffected.
    Source Diff vs 4.8.1
  8. 4.8.1
    • Faster order confirmation for online stores. When a device POSTs queued orders and the store is healthy, the plugin now converts them into real WooCommerce orders inline and returns the actual WooCommerce order id in the same response — instead of only a “queued” acknowledgement the device had to poll for. The offline-first guarantee is unchanged: an order is safe the moment it is queued, and the durable Action Scheduler / WP-Cron drain remains the fallback if inline processing is skipped, times out, or errors.
    • Fixes paid devices getting stuck on Free after a QR re-pair. Legacy QR-paired and admin-created stations were created with no bound device UUID, which the strict pairing check treated as a permanent mismatch — trapping a paid plan on Free because the device could never complete Phoenix pairing. Such a station now adopts the first device that presents its own WooCommerce key (trust-on-first-use); an already-bound station still rejects any other device, so the binding can never be hijacked.
    • Upgrades are now detected on headless sites. The version-aware upgrade routine also runs on rest_api_init, so a site whose plugin files were swapped by auto-update, WP-CLI, or a managed host — and that may never see a wp-admin page load — picks up the new version (and reseeds the cached /meta payload) on the device’s very next REST poll instead of waiting for someone to open the dashboard.
    • Heartbeat reports live plugin and WordPress versions. The order-feed heartbeat now includes plugin_version and wp_version, read straight from the live constant / core (never a cached option), so the device re-runs its preflight and /meta refresh immediately after a file-only upgrade.
    • One-time review prompt for established stores. A conservative, wp.org-guideline-compliant notice asks for a WordPress.org review — shown only on Oliver POS’s own admin screens, only after a store has had an actively paired device for 14+ days, styled as info (never a warning), and gone for good after a single dismissal.
    • Listing refresh. Updated the plugin description and screenshot captions to cover tips, receipts and the built-in kitchen display (KDS), and re-optimised the wp.org banners and screenshots.

    And 1 more note.

    Source Diff vs 4.8.0
  9. 4.8.0
    • Sync-file access guard. The static sync payloads (catalog.json.gz, delta.json) under wp-content/uploads/oliver-pos/sync/ are now protected by a plugin-generated .htaccess that returns 403 Forbidden unless the request carries your store’s pairing sync token (?token=…, the same st value embedded in every device connection key). The check runs inside mod_rewrite, so the files keep being served as plain static files with zero PHP per request — preserving the performance property that makes the catalog-file sync path viable on slow shared hosting. The guard is rewritten on every catalog rebuild, on sync-directory creation, and immediately on sync-token rotation. Apache and LiteSpeed are covered automatically; an equivalent nginx snippet is documented in the FAQ. Legacy installs without a stored token deliberately skip the rewrite rule so existing paired devices are never locked out.
    • Catalog rebuild on device pairing. Activating a station (QR scan / bootstrap pairing) now fires a new oliver_pos_station_paired action; when catalog.json.gz is missing or zero bytes, the plugin schedules the debounced full-sync regeneration (~30 s) so a freshly installed store has the fast bulk-catalog file ready before the device’s initial sync begins — instead of the app falling back to hundreds of paginated /wc/v3/products calls. Pairing an additional device against an existing catalog stays a no-op.
    • Tests. New tests/test-sync-access-guard.php — 9 PHPUnit cases covering guard contents (token rule, 403 flag, .json/.json.gz scope), the empty-token no-lockout branch, guard seeding on sync-dir creation, immediate rewrite on token rotation, rebuild scheduling for missing / empty catalogs, the existing-catalog no-op, and oliver_pos_station_paired firing exactly once per successful activation (and never on a failed one).
    Source Diff vs 4.7.1
  10. 4.7.1
    • Fixes the “site already registered” account-creation deadlock. When a site had previously registered its free Oliver POS account but lost its locally-stored credentials — most often after a plugin update, a database restore, an environment switch, or a manual disconnect — the Dashboard onboarding panel reverted to the “Create your free account” step. Clicking it failed, because the backend correctly reported the domain was already registered, yet the plugin had no way to re-obtain the credentials (the account API key only ever lives on the managed backend). The merchant could neither register nor reach the connected dashboard. The plugin now recovers automatically through a domain-verified re-issue flow instead of dead-ending on that screen.
    • New domain-verified credential recovery. When the backend reports the domain is already registered, the plugin runs a recovery handshake: the backend mints a one-time challenge, the plugin serves it from the registered site, and the backend fetches it back to prove the caller controls that exact domain before re-issuing the account credentials. This is the same HTTP domain-control proof used by Let’s Encrypt and Google Search Console — credentials are never returned on the request body alone. On success the merchant lands straight on the connected dashboard; on failure they get a clear, actionable message instead of a silent loop. If the backend has not yet enabled the recovery endpoint the plugin degrades gracefully with a support-pointing message rather than erroring obscurely.
    • New GET /wp-json/oliver-pos/v1/recover-challenge endpoint (includes/rest-api/class-recover-rest.php). Unauthenticated and intentionally minimal — it returns only the single opaque, single-use, short-TTL challenge token the plugin itself just generated, carries no merchant data, and is exempt from the §4 503 self-trip so recovery still works on a pressured host. Pay_API_Client::recover_site() drives the two-step handshake and, on success, persists the freshly-issued siteId + encrypted apiKey + registered_env exactly like first-time registration and drops any stale cached JWT (the backend rotates the API key on recovery). Billing::ajax_register() transparently triggers recovery when registration reports HTTP 409 / already-registered, covering both the Billing screen CTA and the Dashboard onboarding CTA (they share the handler).
    • Hardened the legacy credential migration so it can no longer cause this state. Activator::migrate_pay_credentials() previously deleted the pre-4.1 flat credential options unconditionally, even when the copy into the environment-namespaced options had been skipped because the target row already existed empty — silently destroying the credential on upgrade. The migration now copies whenever the namespaced value is empty (not just absent), and only retires the legacy rows once the namespaced copies are confirmed present and non-empty; otherwise it leaves the legacy source in place and does not mark itself done, so the next upgrade retries instead of losing data.
    • docs/phoenix-site-recovery-guide.md — implementation guide for the managed-backend team covering the two-step recover contract, the verification fetch, mandatory API-key rotation, SSRF guard, domain normalization, single-use short-TTL challenges, rate limiting, and audit + owner-notification requirements.
    Source Diff vs 4.7.0
  11. 4.7.0
    • Web register support — Phoenix bearer-JWT verification. The plugin now accepts Authorization: Bearer <phoenix-jwt> on every /wp-json/oliver-pos/v1/* route and every proxied /wp-json/wc/v3/* route, so the Compose wasm-JS web register hosted at app.oliverpos.com can pair against a merchant site without ever sending a WooCommerce consumer secret. Tokens are RS256-signed by Phoenix and verified against the JWKS document the plugin caches from /.well-known/jwks.json (production: phoenix.oliverpos.com; staging: phoenix-staging.oliverpos.com, selected by the existing PHOENIX_ENV constant). Iron-law: the browser MUST NEVER see consumer_key / consumer_secret — the bearer path is the only inbound auth surface for web-origin traffic, and a defensive guard rejects Basic auth from any web allowlist origin to keep a misconfigured upstream proxy from leaking secrets. Native iOS / Android apps continue to authenticate with WooCommerce consumer keys via the existing authenticate_wc_api_keys bridge — the bearer path is purely additive.
    • Cross-origin (CORS) headers for the web register. Every authenticated REST response is decorated with Access-Control-Allow-Origin (echoed from the matched allowlist origin — app.oliverpos.com, app-staging.oliverpos.com, plus http://localhost:8080 only when WP_DEBUG or OLIVER_POS_DEV is on), …-Credentials: true, …-Expose-Headers listing X-OliverPOS-Server-Load, X-OliverPOS-Memory-Pressure, X-OliverPOS-Suggested-PerPage, X-WP-Total, X-WP-TotalPages, Retry-After (the app’s AdaptiveSyncPolicy and rate-limit cooldowns silently misbehave without this list), and Vary: Origin so CDN caches stay safe. OPTIONS preflights are short-circuited on init with 204 No Content + Access-Control-Max-Age: 600. Allowlist is filterable via oliver_pos_web_register_cors_origins for self-hosted dev installs.
    • Adaptive-sync headers widened to /wc/v3/*. The four X-OliverPOS-* advisory headers now also land on WooCommerce core REST responses so the web register’s first-pair sync (which is dominated by /wc/v3/products and /wc/v3/orders pulls) gets the same memory-pressure / suggested-per-page clamping that /oliver-pos/v1/* has had since 4.6.0. New oliver_pos_server_health_route_patterns filter (plural) lets sites broaden or narrow the scope further; the 4.6.x oliver_pos_server_health_route_pattern singular filter still works as a back-compat override.
    • includes/auth/ module. Four new classes, zero new external dependencies. Jwks_Client caches the JWKS document in a transient (TTL 24 h, single refetch on kid miss, 60 s negative cache to prevent flooding Phoenix when bad tokens arrive). Jwt_Verifier is a hand-rolled RS256 verifier on top of ext-openssl — algorithm is pinned (rejects alg=none and HS256 confusion attacks), exp / iat / nbf honoured with a 30 s clock-skew leeway, required claims checked (siteId, outletId, stationId, deviceId, iat, exp). Web_Register_Auth orchestrates extraction → verify → site / station cross-check, slots in at determine_current_user priority 10 (before WC’s auth at 15 and the existing WC-key bridge at 20), and surfaces deferred rejection reasons via rest_authentication_errors so 401 / 403 bodies carry an actionable code instead of an opaque “logged out”. Cors handles the allowlist + preflight + response-header decoration.
    • Station::find_by_device_uuid() — new lookup used by the bearer path to resolve the WP user from the JWT’s deviceId claim (the existing find_by_user_device() couldn’t be reused because the bearer path discovers the user FROM the station row, not the other way around).
    • Rest_Filters::set_current_station_id() — public setter so the bearer-auth path can record the resolved station id without touching private state. oliver_pos_get_current_station_id() continues to work transparently across both the WC-key and bearer auth paths, so station-bound routes like POST /stations/{id}/activate need no changes.

    And 4 more notes.

    Source Diff vs 4.5.10
  12. 4.5.10
    • Critical inventory-accuracy fix (OLV-2026-012). POS orders coming through POST /oliver-pos/v1/orders were decrementing product / outlet stock twice — once via WooCommerce core’s wc_reduce_stock_levels() when the order transitioned to completed, and a second time via a custom Order_Queue::deduct_outlet_stock() call right after save(). A 2-unit sale against a 42-unit row landed at 38 instead of 40. Both stock-reduction order notes reported “now 40” because each handler captured its own pre-write snapshot, so the bug was invisible from the cashier’s audit trail. Reproduced by the native team on ms-oliver-small-store.instawp.co Order #149 (Shoe Cleaner SKU 85960).
    • Single-source-of-truth decrement. Order_Queue::populate_order() no longer performs its own per-outlet decrement. WooCommerce core’s wc_reduce_stock_levels() → do_action('woocommerce_reduce_order_stock', $order) → Stock_Manager::route_stock_reduction() is now the single decrement primitive for both POS and online orders, and it already handles the atomic Outlet_Stock::decrement() UPDATE, the heal-on-read seed from legacy _oliver_stock_{outlet_id} postmeta, the dual-mode legacy meta dual-write, the Stock_Meta::sync_global_stock() tail in new_only mode, and the “Oliver POS: × N deducted from … (stock now: N)” cashier audit note. The previous custom decrement was a near-verbatim duplicate of Stock_Manager::deduct_outlet_stock() and added ~70 lines of stock logic for nothing but a second write.
    • Pre-flight check preserves the structured insufficient_stock: device error. Removing the post-save decrement also removed the deficit-reporting branch the device relies on to render its stock-conflict UI. Replaced with a new private Order_Queue::preflight_outlet_stock() that runs BEFORE $order->save(), reads each line item’s available outlet stock (with the same heal-on-read seed as Stock_Manager), and short-circuits the save with a RuntimeException( 'insufficient_stock:' . wp_json_encode( $deficits ) ) when any line can’t be fulfilled. The deficit array shape (product_id, outlet_id, requested, available) is byte-for-byte identical, so Order_Sync::handle_sync() keeps forwarding error: "insufficient_stock" + deficits[] to the device unchanged. The outer catch then deletes the empty pending shell from wc_create_order() via delete_partial_order() and mark_failed() writes the insufficient_stock: prefix onto the queue row (treated as terminal — no retry, since retrying would never make the deficit smaller).
    • New “Pair a device” button on the Dashboard header. Always-on affordance to mint a fresh station QR / connection key after disconnecting, reinstalling, or losing a paired device — without drilling into Outlets → edit → Stations. Reuses the existing oliver_pos_add_station AJAX pipeline and the same renderQRCode / connection-key copy helpers as the outlet-edit Stations meta box, so the QR contents and key are byte-for-byte identical between the two surfaces. The modal markup was lifted into a shared Outlet_Admin::render_qr_modal() helper so there is a single source of truth.
    • Out of scope, deliberately unchanged. The wire payload contract on OrderSyncEntry (no status / set_paid / reduce_stock / manage_stock / stock_quantity fields — locked in the iOS / Android app by LocalOrderTest.completedSaleEntryOmitsStatusField), the refund restock REST path (POST /oliver-pos/v1/products/{id}/stock → Stock_Rest::process_adjustment()), and Stock_Manager‘s behaviour for online (non-POS) orders.
    • Operational note for already-affected merchants. Stores running 4.5.9 or earlier will have drifted stock counts proportional to POS volume since the bug was introduced. The fix stops future drift only; reconciling existing counts requires either a manual stock-take or a one-time admin action — flagging to the rollout team to coordinate before bumping merchants to 4.5.10.

    And 1 more note.

    Source Diff vs 4.5.8
  13. 4.5.8
    • Billing dashboard iteration on top of 4.5.7 — Billing core rework, Billing_Admin polish, JS/CSS refinements, and additional Pay_API_Client resilience. New BillingClaimTest unit coverage.
    • First-run UX: promoted the “Create your free Oliver POS account” CTA from the Billing page into the existing Dashboard onboarding panel so it’s the first thing a merchant sees after activation, with conversion copy (“Free forever · No credit card · Instant · Start selling”) and a one-click flow. The Billing-page CTA stays as a fallback surface.
    • Still a single explicit, disclosed click — WordPress.org Plugin Directory guideline 7 (no “phoning home” without informed consent) preserved. Activation continues to make zero outbound calls; the new card carries the same expandable “What gets sent when you click” disclosure as the Billing CTA, listing site URL, site name, and admin email before any request goes out.
    • No new endpoints. The new Dashboard button reuses the existing wp_ajax_oliver_pos_billing_register handler (nonce oliver_pos_billing), so the throttle, error mapping, and Phoenix register path are a single source of truth across both surfaces.
    • Hero subhead on the Dashboard panel updated to reflect the new step. When …
    Source Diff vs 4.5.7
  14. 4.5.7

    No notes for this release in the current readme.

    Source Diff vs 4.5.6
  15. 4.5.6

    No notes for this release in the current readme.

    Source Diff vs 4.5.5
  16. 4.5.5

    No notes for this release in the current readme.

    Source Diff vs 4.5.4
  17. 4.5.4

    No notes for this release in the current readme.

    Source