Case study · Own SaaS product for WooCommerce and Shopify, with subscription billing

Perkbase – gamified activations for WooCommerce and Shopify stores

We designed, built and shipped our own SaaS product end to end: prize wheels, scratch cards, cup games and advent calendars that give shoppers single-use coupons and show the store which orders each activation brought in.

The starting point

Spin-to-win pop-ups are a familiar way for online stores to collect emails and hand out discounts. The hard part is everything around the game: creating a coupon that can only be used once, getting it onto the shopper’s cart, and knowing afterwards whether it led to an order. Perkbase is our answer for WooCommerce and Shopify – a product we own and run ourselves, not a client project.

What we built

A hosted service and a WordPress plugin that work as one product: a Laravel backend for accounts, activations, analytics and billing, a React editor that opens inside wp-admin, a storefront pop-up script, and the Perkbase for WooCommerce plugin that connects the store. Around them sits the product site at woo.perkbase.app in English and Finnish, with trial signup and Stripe checkout. The same backend now also runs a native Shopify app, installed from the Shopify App Store and managed inside Shopify admin.

Perkbase activation editor in wp-admin on a laptop and a prize wheel pop-up on a phone

Four activations, one model

Every activation shares the same prize pool, coupon and reporting logic, so a new game type is a new front end, not a new system:

  • Prize wheel. The classic spin-to-win, with prizes and chances set in the editor.
  • Scratch card and cup game. Two more ways to play for the same kind of prize.
  • Advent calendar. One door a day until Christmas, a separate single-use coupon behind each door and three ready-made designs.
  • Pop-up or block. Activations open as a pop-up on page load, after a delay or, on desktop, on exit intent – or sit inside any page or post through the “Perkbase activation” block.

From a win to attributed revenue

The game is the visible part. The value is in the chain behind it, which runs through WooCommerce’s own REST API and webhooks:

  • A coupon per win. Each win creates its own single-use WooCommerce coupon with an expiry date.
  • Applied automatically. The code goes onto the shopper’s cart and works in both the classic and the block checkout.
  • Revenue per activation. A signed order webhook tells Perkbase which orders used its coupons, so analytics show actions, win rate, captured emails and the revenue each activation brought in.
  • Emails with consent. Email capture is optional and comes with a marketing opt-in. Emails appear in WooCommerce › Customers, and shoppers who opted in can go straight to Klaviyo or Mailchimp.
Perkbase advent calendar open full screen on a phone

Inside wp-admin, not next to it

Store owners live in WordPress, so Perkbase does too. There is no separate login and no theme step:

  • Install the plugin, click Connect and approve WooCommerce’s own “connect app” screen.
  • Perkbase opens under its own wp-admin menu – Activations, Analytics, Integrations and Plans – signed in through a short-lived signed token for the WordPress user.
  • Activations are designed with a live desktop and mobile preview and go live with one click on Publish.
  • Disconnecting removes the API key and webhook from the store. Updates arrive through the normal WordPress updates screen.
Perkbase activation editor inside wp-admin, with a live preview of a prize wheel

Subscription billing from day one

A SaaS product is only shipped once someone can pay for it. Billing runs on Stripe and was built to the same standard as the product itself:

  • Basic, Pro and Business plans, monthly or yearly, each starting with a 7-day free trial.
  • Checkout on the product site itself, with VAT calculated from the customer’s location and VAT number.
  • Every billing webhook re-reads the subscription, so retries, out-of-order events and plan changes in the customer portal all end in the same plan.
  • Plan limits on live activations and monthly actions, with upgrade prompts instead of an activation that suddenly stops.

Technical quality that holds up

  • Laravel and React on the service, a WordPress plugin for PHP 8.1+, WordPress 6.4+ and WooCommerce 8+
  • One backend and one pop-up script behind a commerce-platform layer, which is how the native Shopify app shipped on the same platform
  • Pop-ups fill the whole screen on phones and show as a card on tablets and desktops
  • Data stored in the EU, with Terms, a Privacy Policy and a DPA published on the product site
  • Nothing is sent to the service before an administrator clicks Connect, and every request the plugin makes is documented in its readme
  • Privacy-first consent banner on the product site, with Google Consent Mode v2

Have a product that needs shipping?

Perkbase shows what we do from idea to a paying product: the service, the plugin, the billing and the site that sells it. If you have a SaaS product or a WordPress plugin to build, let’s talk.

Perkbase is a Cultmetrics product. Screenshots: woo.perkbase.app and the Perkbase demo store. This case study describes the product as built and shipped.