The project
Pupasana Yoga runs puppy yoga classes across the Greater Toronto Area: small, ticketed sessions where guests do yoga surrounded by puppies, held at partner studios in several locations. Every class has a fixed number of spots, sessions sell out, and a lot of customers want to give a class as a present.
The studio first came to us in March 2026 about SEO, and we started with a full audit of the site. A month later they asked for something more urgent: gift cards, because customers were asking for them every week. When we opened the site to plan that, we found the real problem. The WordPress site was only a shell. Bookings ran in a separate PHP application on the same server, embedded into the “Book now” page in an iframe, with its own admin panel, its own logins and its own Stripe code. Gift cards had to plug into checkout, and checkout lived outside WordPress.
We could have bolted gift cards onto that separate app. Instead, the owners agreed to the bigger fix: rebuild the whole yoga studio booking system as a custom WordPress plugin, so events, bookings, payments, tickets, gift cards and discounts are all managed in one place, with gift cards built in from day one. Their conditions were clear:
- Nothing can break on the live site. Classes were selling every week, so all building and testing happened on a separate staging site.
- No old data can be lost. Past customers, bookings and ticket counts had to come across.
- Keep it familiar. The booking flow should work the way customers already knew, including “only 5 tickets left” and sold-out states.
- Easy for the team to run from the WordPress dashboard, without touching code.
How we worked
The project ran remotely between Lahore and Ontario, over WhatsApp and video calls with the two owners. After the rebuild was agreed, the whole system was built on a staging copy, demonstrated on a live walkthrough call, refined through numbered change lists, and only then moved to the live site, with a $1 test ticket paid on the real Stripe account before announcing it.
- SEO auditA complete technical and on-page audit report, and a call to agree the priorities.
- DiscoveryGift cards scoped; the separate PHP booking app found behind the iframe, and its flows mapped before anything was changed.
- Decision: rebuild in WordPressOne plugin to own events, bookings, payments and gift cards, built on staging so the live booking kept selling.
- Build and staging demoEvents, booking flow, PDF tickets, gift cards and promo codes, shown on a live walkthrough call.
- Two rounds of changesGift cards for tickets as well as amounts, editable FAQ tabs and waiver, the waiver in the confirmation email, filtering bookings by class date and time, and a one-screen checkout.
- LiveMoved to the live site, Stripe switched to live keys, a $1 real-money test, then the old booking sections replaced.
- After launchOld booking pages retired with redirects, an announcement bar for news like a new location, and a membership add-on.
What we built
The result is one custom WordPress plugin, about 9,500 lines of PHP, JavaScript and CSS, with its own 13 database tables and 11 customer-facing pages, each placed with a shortcode so they sit inside the existing Elementor site.
- Classes
- Events, dates and time slotsEach class is an event with its studios, locations, dates, time slots and a ticket limit per slot. Customers see “only 5 tickets left” as a slot fills up, and a slot shows sold out without hiding the rest of the calendar.
- Booking
- Book as a guest or with an accountPick a date and time, choose how many people, then fill in one details screen, either as a guest or signed in. Accounts have email verification, password reset and a “My bookings” page.
- Payments
- Stripe Checkout with Ontario HSTPrices are calculated on the server, with 13% HST (adjustable in settings), and paid through Stripe Checkout in Canadian dollars. Card details never touch the studio’s server.
- Tickets
- PDF tickets with a QR codeCustomers accept the studio’s waiver before paying. Each paid booking gets a confirmation number and a branded PDF ticket that includes the waiver, attached to the confirmation email. Staff scan the QR code at the door to check the booking.
- Gift cards
- Money or class ticketsBuy a gift card for a set amount, a custom amount or tickets to a specific class, and send it straight to someone with a personal message. Balances carry over, so a card can be used across several bookings.
- Promo codes
- Discounts the owners controlPercentage or fixed-amount codes for referrals and campaigns, with a minimum order, a usage limit and an expiry date, for bookings, gift cards or both.
- Event pages
- Edited from the dashboardGalleries and sliders, “this week’s puppies” announcements with several photos per date, and FAQ tabs such as refunds, what to bring, age limits and guardians for children.
- Admin
- Run the studio from WordPressA dashboard with revenue, a bookings list filtered by class date and time, CSV export, gift card and promo code management, and staff accounts with a limited “Studio Manager” role.
How a booking works
The booking flow keeps the steps customers already knew, but every number that matters is decided on the server. The page in the browser can show a price or a free spot; it can’t set one.
Decisions worth sharing
Architecture
Rebuild the core instead of patching around it
Adding gift cards to the separate app would have been quicker to quote, but it would have left the studio with two admin panels, two sets of logins and a checkout no one on the team could change. Moving booking into WordPress made gift cards straightforward, and everything after them (promo codes, the announcement bar, memberships) became a small addition instead of a new integration project.
Payments
The browser never decides the price
Ticket prices, HST and discounts are recalculated on the server from the database at checkout, and the spots are re-checked there too, so a sold-out slot can’t be booked from a page that was left open for an hour. Discounts stack in a fixed order: membership first, then a promo code, then a gift card balance. When a gift card covers the whole order, the booking is confirmed without sending the customer to Stripe at all.
Gift cards
Ticket gift cards, not just money
The owners wanted to sell “two tickets to puppy yoga”, not only a dollar amount. So a gift card can be either. A ticket gift card is tied to its class and can only be redeemed there, while an amount card works anywhere and keeps its remaining balance for next time. The same codes work on the booking page, and promo codes can be used when buying a gift card too.
Migration
Bring the history across, safely
To make sure no old data was lost, the plugin has a CSV import for customers, yoga types, locations, events, time slots, tickets and bookings. It recognises the column names an export is likely to use, checks the file matches the chosen type before importing anything, and updates existing bookings by confirmation number. Running the same file twice fixes rows rather than creating duplicates.
Access
Staff can run classes without full admin rights
The studio’s helpers need to manage classes and check bookings, not install plugins. A custom “Yoga Studio Manager” role gets exactly one studio capability plus the right to log in. Administrators get the same capability automatically, and the plugin repairs it on every admin load if a role is ever reset.
Launch, and the lesson from week two
Launch day went the careful way: the plugin was moved to the live site, the owners entered their live Stripe keys themselves in the plugin settings (we never asked for them in chat), and a $1 ticket on a test class was paid with a real card to prove the whole chain, from payment to PDF ticket to both emails. Only then were the old booking sections replaced with the new ones.
A week later, a group arrived for a session that the studio had no record of. They had paid, and Stripe showed the payments, but the bookings weren’t in WordPress and no emails had gone out. The new system had worked correctly. The bookings had gone through the old booking app, which was still online at its old address: a saved link was enough to reach it.
The fix was simple: every old booking page now permanently redirects to the new booking flow, so there is only one way to book. The lesson stays with us on every migration: a cutover isn’t finished when the new system works, it’s finished when the old one can’t be used. Retiring the old entry points is now part of our launch checklist, not something done afterwards.
Results
- 1
- WordPress admin for classes, bookings, payments, tickets and gift cards
- 5 weeks
- from the rebuild plan to live bookings, built on staging
- 3
- ways to pay less: gift cards, promo codes and member codes
- 11
- customer-facing pages, from booking to ticket check-in
- $1
- real-money test on live Stripe before launch
- June 2026
- live on pupasanayoga.ca, selling classes and gift cards
| Area | Before | After |
|---|---|---|
| Where booking lived | A separate PHP app in an iframe | Inside WordPress, as one plugin |
| Admin | A second admin panel and login | The WordPress dashboard, with a staff role |
| Gift cards | Not possible | Amount or ticket cards, sent as gifts |
| Promo codes | None | Percent or fixed, with limits and expiry |
| Tickets | Email confirmation | PDF ticket with QR code and waiver |
| Event content | Fixed in code | FAQ tabs, galleries and announcements edited in WordPress |
What came next
Because booking now lives in WordPress, new features are small additions. A rotating announcement bar went in at launch for news like a new location opening. A membership add-on followed: plans are created in WordPress, each with a permanent checkout link for the pricing page, and billed as Stripe subscriptions. Fixed-term plans stop billing on their own after the agreed number of months, and each member receives a code that takes their member discount off class bookings, checked live against their subscription at checkout. The membership pages are being refined with the owners before they go public.
What we’d tell any studio
A booking system for a small business has one job: let people pay for a spot, and make sure that spot is really theirs when they arrive. Everything else is in service of that. That’s why the prices are decided on the server, why the launch was proved with real money before anyone was told, and why the old booking path was shut instead of left “just in case”.
It’s also why we keep things inside the tools the owners already use. The team edits classes, FAQ tabs, waivers, gift cards and announcements in the same WordPress dashboard where they write blog posts. No second login, no developer needed for the everyday work.