Skip to content

← Help center · Deals and loyalty

Online store: let customers use loyalty points in your web shop

Earn and redeem on the same loyalty card in online orders with the WooCommerce plugin or the API; customer consent, rules and refunds.

Steps

  1. Go to Panel › Marketing › Online store (Pazarlama › Online mağaza) and click "Connect an online store"; enter a name and choose the platform.
  2. Copy the API key, which is shown only once.
  3. On WooCommerce, upload the mekanbook-loyalty.zip plugin from the same page to WordPress, activate it and paste the key under WooCommerce › Settings › MekanBook.
  4. Under Rules choose the earn rate, the maximum discount percentage and the minimum order amount.
  5. Click "Test connection" to check the key, plan, programme and (if set) webhook.

For venues that also sell online (roasters, patisseries, delis): customers earn points on online orders with the same loyalty card they use in the venue and can redeem points as a discount at checkout. The owner or a manager sets it up; your plan must include E-commerce loyalty and your loyalty programme must be on.

The store can never match a customer by itself. At checkout the customer types their MekanBook e-mail; a 6-digit code and a one-tap approval link are sent to the account's e-mail. The store never sees the customer's e-mail, phone or MekanBook history — only a store-specific customer number and the balance. Customers can remove the link at any time under Account › Loyalty cards › Online stores.

Rules

  • Earn rate: 100 = same as in the venue; 50 = half; 0 = online orders don't earn. Tier multipliers, happy hours and stamp rules apply as usual.
  • Maximum discount: the largest share of the basket that can be paid with points (0 = online redemption off).
  • Minimum order amount and what can be used online (points, cashback, full stamp-card reward).
  • Points are earned on the amount paid, after discounts and excluding shipping.

Redemption, refunds and cancellations

  • When a customer uses points, they are held for 30 minutes while the order is placed and become final when payment is confirmed. If the order isn't completed, the points go back with their original expiry date.
  • Partial refund: earned points are reversed in proportion. Full refund / cancellation: all earned points are reversed and points used on the order are returned.
  • Every online movement appears in the loyalty ledger as Online with the order number, and in the "Recent online transactions" table.

Platforms

  • WooCommerce: ready plugin (Turkish/English). Points are awarded when the order is "Completed" (optionally "Processing").
  • Shopify, İkas, Ticimax, IdeaSoft, T-Soft and custom sites: there are no ready apps. Your developer or agency connects them with the API and the JavaScript widget (Developer docs › E-commerce loyalty).

Security

The API key stays on your store's server and is never put in the browser. If it leaks, click Rotate key — the old one stops working immediately. Disconnect cuts the store's access; customers keep their points.

Frequently asked

What if the customer has no MekanBook account?

No code is sent and the store is not told whether an account exists. The customer can sign up to MekanBook and get your card from your venue page.

What if the points hold expires?

The points go back to the customer. If payment arrives later and the balance is still enough, the points are deducted again; otherwise the store sees a warning in the order notes.

Last updated: 09.11.2026

Was this article helpful?