Shopify
Connect Shopify to The Wallet Crew to create or update customers and deliver wallet passes from in-store QR flows or online “Add to Wallet” buttons.
Shopify can be connected to The Wallet Crew through two complementary paths. One path focuses on in-store enrolment and customer creation/update in Shopify. The other path focuses on adding an “Add to Wallet” button to the online storefront.

The Shopify integration is different from SFCC / Adobe Commerce (Magento) / PrestaShop integrations. Those platforms typically rely on a custom storefront implementation of the browser SDK (see How the Add to Wallet button works). Shopify offers a maintained integration surface through a dedicated connector and app, which reduces custom code and long-term maintenance.
In-store QR registration (The Wallet Crew hosted flow). A QR code opens a registration layout of The Wallet Crew. The flow can create or update the Shopify customer, then issue a wallet pass.
Online store “Add to Wallet” button (The Wallet Crew Shopify app). The Shopify app exposes a theme block that renders an “Add to Wallet” CTA on selected pages.
In-store QR registration (The Wallet Crew hosted flow)
This setup connects The Wallet Crew enrolment flow to the Shopify Admin API. It is typically used when the in-store journey should create or update a Shopify customer record while issuing a wallet pass in the same scan.
Prerequisites
Admin access to the Shopify store.
Access to The Wallet Crew admin console.
A pass template already configured in The Wallet Crew.
A registration layout (the page shown after scanning the QR code).
Create a Shopify Admin API token (custom app)
In Shopify Admin, go to Settings → Apps and sales channels.
Click Develop apps, then open the existing custom app.
Open Configuration → Admin API integration.
Add scopes:
read_customerswrite_customers
Install the app in the store.
Copy the Admin API access token.
Enable Shopify in /server/flows.yml
In the admin console, go to Settings → Advanced → Advanced configuration.
Edit /server/flows.yml and ensure:
The provider is enabled in
customerProviders.The
shopifystep runs before thepassstep.
passType: user is a sample. Use the name of the pass template that the flow issues.
Validate the integration
Validation should cover both Shopify customer sync and pass delivery.
Scan the QR code from a phone.
Complete the registration.
Confirm the customer exists (or is updated) in Shopify.
Confirm the pass is created and can be added to Apple Wallet or Google Wallet.
Troubleshooting
401 / 403 from Shopify
Re-check the app scopes.
read_customersandwrite_customersare required.Re-install the custom app after changing scopes.
Ensure the value pasted is an Admin API access token (not a storefront token).
The flow runs, but no Shopify customer is created
Ensure
- type: shopifyis in theuserRegistrationflow.Ensure
customerProvidersincludes- type: shopify.Validate YAML indentation.
Online store “Add to Wallet” button (Shopify app)
The Wallet Crew Shopify app exposes an “Add to Wallet” block in the theme editor. This path is often used when an “Add to Wallet” entry point is needed without building a custom module or cartridge.
Prerequisites
The Wallet Crew Shopify app installed and enabled.
A working pass issuance setup in The Wallet Crew (so the button has something to deliver).
Troubleshooting
The theme block does not appear
Ensure the app is installed and enabled.
Try adding the block on a different template (product vs page vs account).
Check the theme editor Apps section (not Sections).
Liquid code snippet (without the app)
The Shopify connector also ships a ready-made Liquid snippet. In the admin console, go to Data & integrations → Connectors → POS → Shopify, Code snippet tab, select the pass template, then copy the snippet into the Shopify theme.
The snippet signs customer.id in Liquid (hmac_sha256) and passes it to the SDK as the external identifier shopifyId. On desktop, it shows a QR code to scan; on mobile, it renders the Add to Wallet button.
The Code snippet tab shows the snippet only to users whose role can read general secrets.
FAQ
Last updated

