Shopify Setup

Issue wallet passes on paid orders, use pass barcodes as discount codes, and close the loyalty loop — online and at POS.

New to this? Follow the illustrated Shopify setup guide, step by step (connect, loyalty card, order pages, Shopify POS). This page is the reference.

What the integration does

  • Auto-issue on paid orders — a customer completes checkout and receives a branded email with official wallet buttons. Smart issuance logic skips customers who already hold a pass: if the order used a Pass Studio discount code, the customer clearly has one. Since 2026-11-18 the card is also on the order's own pages: with the Pass Studio wallet buttons block placed, the Thank you page and the Order status page offer the card on every order it is issued on, to a customer who has no card yet and to one who already holds it. See Card button on the Thank you page and the Order status page.
  • Discount-code sync — pass barcodes double as Shopify discount codes, valid at online checkout and Shopify POS.
  • Closed-loop loyalty — orders that redeem a pass code accrue points or advance the customer toward their next reward, and the pass updates on their phone automatically.

1. Connect your store

  1. In Pass Studio, open Settings → Shopify and click Connect.
  2. Approve the app on Shopify — you're redirected back when the store is linked.
  3. Open the pass you want customers to receive and turn on Auto-issue on purchase (Studio → Share tab). Optionally pick specific products — the pass is then only sent when an order contains one of them; with no products picked, every paid order sends it.

2. Auto-issue (orders webhook)

Auto-issue is driven by Shopify's orders/paid webhook. It is registered automatically when you connect your store — nothing to set up. Every delivery is signature-verified; deliveries with a bad signature are rejected.

Manual fallback: if Settings → Shopify shows the auto-issue setup panel (automatic registration didn't complete, or the store was connected before automatic setup existed), follow the panel's steps: copy the webhook URL, create a webhook for the Order payment event in Shopify admin (Settings → Notifications → Webhooks, JSON format), paste the webhook signing secret from Shopify's Webhooks page into the matching field in Pass Studio, then click Refresh.

3. Test it

  1. Place a test order in your store and mark it paid.
  2. The customer email on the order receives the wallet pass email within seconds.
  3. Check Members on the pass in Pass Studio — the holder appears with their name and email.

How issuance decides

For every paid order, Pass Studio checks the discount codes on the order:

  • A Pass Studio code was used → the customer already holds a pass. No new pass is issued; instead the order runs through the loyalty engine — points accrue or the reward progresses.
  • No Pass Studio code → first-time customer. A pass is issued and the branded wallet email goes out.

Issuing a card uses credits; the rates are on the billing page. For a limited time, connecting a store adds the one-time Shopify Welcome Bonus (5,000 credits at launch) to an individual account — once per account and once per store, not for team wallets or development stores. Billing details →

Automatic loyalty reward

On a Shopify store, a loyalty member's unlocked reward (the offer unlocked at the points threshold) applies by itself, with no code typed or scanned, once the customer is on the order. It is powered by a Shopify discount function included in the Pass Studio app (rolling out from 2026-10-24, with the app release that carries it).

  • Where it applies: online checkout when the customer is logged in or otherwise identified (including a guest checkout with the customer's email), and Shopify POS on POS Pro locations once staff attach the customer to the sale (Shopify's customer search or the Pass Studio tile). POS Lite locations don't run automatic discounts — a Shopify rule for all automatic discounts; there, staff scan the member's card with the Pass Studio tile, which applies the same code.
  • One reward, one code: the automatic discount carries the member's own reward code — the same code printed on their wallet card. Used either way, the reward is redeemed once; the other way then stops working.
  • Redeemed only on a paid order: appearing on a cart uses nothing up. An abandoned cart, or a discount removed from a POS sale because the customer wants to keep the reward, leaves the reward available. Online, shoppers can't remove an automatic discount — Shopify gives them no option for it — so an identified member's reward always applies to their online order.
  • What never applies automatically: the welcome offer and campaign codes. Only the reward does.
  • No stacking: it combines with no other discount. If the customer has a better non-combining discount, Shopify keeps the better one and the reward stays for the next order. If they also enter their reward code, only one applies.
  • On by default: each program has a switch, Apply the reward automatically when the customer is known, on the Reward step of the loyalty wizard, and autoApplyReward on GET/PATCH /v1/loyalty/programs/{id}. Off, or a paused program, stops automatic application; codes keep working.
  • In Shopify admin: Pass Studio creates one automatic discount, titled Loyalty reward, the first time a reward unlocks in your store.
  • Who gets it: members linked to a Shopify customer (learned from an order, from the POS tile, or by email match when the reward unlocks). A member with no Shopify customer record keeps the code only.

FAQ

  • Does the welcome offer apply automatically? No — only the reward. The welcome offer stays a code.
  • The reward didn't apply. Why? No customer on the order (guest checkout, or none attached at POS), a POS Lite location (automatic discounts need POS Pro), the switch is off or the program paused, a better non-combining discount won, or the member has no Shopify customer record. The code on the card still works.
  • Can a customer keep the reward for later? At POS, yes — staff remove the discount from the sale; nothing is redeemed until an order is paid. Online, no — Shopify doesn't let shoppers remove an automatic discount, so it applies whenever the member is identified at checkout.
  • Can it be used twice? It is cleared by the paid-order webhook a few seconds after payment; a second order by the same customer inside those seconds could receive it again. Codes are single-use inside Shopify itself.

Card button on the Thank you page and the Order status page

Since 2026-11-18 every order your store issues a card on shows the card on the page the customer sees right after paying (Shopify's Thank you page) and on the Order status page, on the first order and on every order after it. Under the heading Your purchase comes with a card, one button, Add your card to your wallet (a row with a small graphic of a wallet card, a QR code in a frame), opens the card's sign-up form with that order attached for a customer with no card yet. When the customer already has the card, the block shows the Add to Apple Wallet and Save to Google Wallet badges of that card instead, so a customer who never added it, or removed it, can add it from any order. A purchase is put on a card once, whichever link is used.

  • Set it up: in Shopify admin, go to Settings → Checkout. Under Configurations, click Edit on your store's configuration; the checkout editor opens on the Checkout page. In the page picker at the top of the editor, choose Thank you. Under the Order summary section, click Add block and select Pass Studio wallet buttons. Then choose Order status in the same page picker; under Main, click Add block and pick Pass Studio wallet buttons. Click Save: the blocks are not live before that. On the Order status page (the order's page in the customer account, under Orders) the block sits above the order. The block is not on these pages until you add it. In the editor's preview the block shows its waiting line, because the sample order there is not a real order.
  • Which orders: (1) orders with a product linked to a package of a prepaid card; (2) orders that match a loyalty or membership card with Auto-issue on purchase turned on: every order when the card has no product list, otherwise orders with one of its products; (3) orders that issued a pass of their own (a coupon, a ticket, a gift card with automatic issue): the block shows the badges of that order's pass. When one order matches more than one card, the block shows one, in that order. Any other order shows the badges of the loyalty card the customer already holds, and nothing for a customer with no card. Until 2026-11-18 only orders of kind (1) had a button for a customer with no card.
  • The order counts on the new card: when the card earns points on orders, the order the customer signed up from earns its points on the new card, by the card's own earning rule, once the order is paid. The same holds for a card made from the order invitation email. Before 2026-11-18 a customer's first order earned nothing, because there was no card yet when it was paid. An order is counted once, whichever link the customer used.
  • A customer with another card of yours: a customer holds one live loyalty card per store. A customer who already holds one of your loyalty cards and places an order that matches another one is not offered the second card: the order's page shows the Add to Apple Wallet and Save to Google Wallet badges of the card they hold, and a sign-up from the order returns that card. An order that buys a prepaid package still puts the customer on the prepaid card the package belongs to.
  • The invitation email: the page button does not depend on whether Pass Studio emails the customer on a paid order. With that email on, the customer has both the email and the button, and they lead to the same card.
  • The sign-up form knows the buyer: since 2026-11-18 the form opened by the button shows the email and the phone of the order filled in and read-only, as the form of the order invitation email does. The card is made with them and linked to the store customer of the order, so the customer's next order finds the card and its package lands on it with no further step. A customer who already holds the card under that email gets that card, with the purchase on it.
  • Timing: on the Thank you page the block asks Pass Studio for up to 30 seconds while Shopify finishes the order, showing Preparing your wallet card…. If nothing is ready by then it shows Your card is not ready yet. Open this page again in a minute.
  • Proof: the block sends the order's confirmation number, and Pass Studio opens the purchase only when it equals the one Shopify holds for that order.
  • Language: the heading and the button are in English.

Changelog: 2026-10-24 — automatic loyalty reward added (reward only, on by default, one code for both ways in). 2026-10-25 — clarified: at Shopify POS it needs a POS Pro location. 2026-10-25 — Shopify Welcome Bonus (limited time): one-time credits when a store connects, see Billing. 2026-11-17 — card link in Shopify's order confirmation email (Studio → Share → Order confirmation email). 2026-11-18 — card button for prepaid package orders on the Thank you and Order status pages. 2026-11-18 — the card link for the order confirmation email is no longer offered; the Thank you page button replaces it. 2026-11-18 — the card button shows on every order the store issues a card on, not only orders with a prepaid package, and the order a customer signs up from earns its points on the new card. 2026-11-18 — a customer who holds one of the store's loyalty cards is not offered a second one from an order.

Shopify Flow

Pass Studio adds nine triggers to Shopify Flow: pass issued, added to wallet, removed, redeemed, points changed, tier changed, reward unlocked, visit counted, journey advanced. Each fires for one holder with the Shopify customer attached, so a workflow can tag the customer, update a metafield or send an email through Klaviyo. Five actions run the other way: issue a pass, send a message, update fields, add points, revoke. See Shopify Flow.

Selling somewhere else too?

The same engine accepts orders from any platform via POST /orders/process — WooCommerce, a custom cart, in-person sales. See the Integration Guide.