Hibira Waiting Room

By hibira

0+ active installationsVersion 0.1.1

A fair queue for WooCommerce drops and flash sales: shoppers wait their turn, then a signed pass is checked at add to cart and checkout.

Description

When a drop, a limited release or a flash sale brings more shoppers than your store can serve, checkout slows down for everyone and the fastest bots win. Hibira Waiting Room puts a fair line in front of it.

  • Shoppers who open a protected page without a pass go to a hosted waiting page. They see their place in line, the number of people ahead and an estimated wait, updated live. Refreshing keeps their place.
  • You choose how many shoppers are let in per minute. When it is their turn they come back to your store with a pass signed with your app’s secret, which the plugin checks on your server.
  • The pass is checked again when they add a protected product to the cart and when they place the order, in the classic checkout and the checkout block. Each place in line can check out once.
  • Protect only some products and categories, checkout only, or the whole shop.
  • Open, pause or close the room (sold out), set a start time and let more shoppers in by hand from WooCommerce > Waiting room. Live counters show how many are waiting.
  • The waiting page speaks English, Traditional and Simplified Chinese, Japanese, Korean, Thai and Vietnamese, following your site language.
  • Shop managers can skip the line, and search engines can still read protected product pages (they cannot buy).

The plugin adds almost nothing to your pages: the waiting happens on Hibira, so your server only sees shoppers whose turn has come.

External services

This plugin uses Hibira (https://hibira.io), a realtime service, to run the waiting room.

  • Shoppers without a pass are redirected to the waiting page on your Hibira app’s host (ws.hibira.io by default). Hibira receives the address they wanted to open (so it can send them back), their IP address and their browser details as part of the visit, and stores their place in line in their browser.
  • From WooCommerce > Waiting room, your server sends the room’s settings (title, rate, start time, pass lifetime, your store address and the waiting page look: logo address, colour, message and theme) to Hibira’s HTTP API and reads the room’s counters. No customer or order data is sent.
  • Passes are checked on your server with your app secret; checking a pass sends nothing to Hibira.

Terms: https://hibira.io/legal/terms — Privacy policy: https://hibira.io/legal/privacy

Installation

  1. Install and activate the plugin. WooCommerce is required.
  2. Create an app at https://hibira.io. The Free plan works.
  3. Go to WooCommerce > Waiting room, enter the App ID, key and secret, and choose which pages need a pass. Save.
  4. Choose how many shoppers to let in per minute and press Create the waiting room.
  5. Before the sale, tick Send shoppers through the waiting room and save. Untick it afterwards.

You can also define HIBIRA_APP_ID, HIBIRA_APP_KEY and HIBIRA_APP_SECRET in wp-config.php.

FAQ

Does it work with page caching?

Protected pages are sent with no-cache headers and DONOTCACHEPAGE, which caching plugins respect. If a CDN or host cache serves product pages without asking WordPress, exclude the protected product pages from it, or protect checkout only (checkout is never cached).

Can someone share a pass?

A pass can be copied to another browser while it is valid, so the plugin records the place in line on the order and refuses a second paid order with the same place.

What happens to shoppers already in the cart when I turn it on?

They go through the waiting room the next time they open a protected page or place an order.

Screenshots

Changelog

0.1.1

  • Waiting page look in WooCommerce > Waiting room: your logo, brand colour, message, light or dark theme, and hiding “Powered by Hibira” on paid waiting room plans.
  • The settings page shows a small Hibira header.

0.1.0

  • First release: waiting room for products, categories, checkout or the whole shop; pass checked at add to cart and checkout (classic and block); one order per place in line; room controls and live counters in WooCommerce.