# Sell test bundles with a buy link or your Shopify store

Once a test bundle is saved, your clients can buy it themselves: from a link you send or put on your website, or as a product in your own Shopify store. Each buyer gets their own account and referral, and the order is billed to your organisation.

- Needs: A saved test bundle
- Buy link: Two clicks
- Shopify: About 15 minutes
- Try it free: In staging

## Share a buy link

Anyone selling a bundle by email, message or a button on their own website.

### Step 1: Open your test bundles

Where: Catalogue, then Test Bundles (https://app.eirly.health)

Sign in, choose your organisation and open Test Bundles. If you have no bundle yet, create one first: pick the tests, name it, and add your margin if you charge one.

You will know it worked when: The bundle you want to sell is in the list.

### Step 2: Copy the bundle's buy link

Where: The actions menu (...) next to the bundle, then Copy Bundle URL

This copies the bundle's buy link. Anyone who has the link can buy the bundle, so share it where you mean to sell it.

You will know it worked when: The link is on your clipboard.

### Step 3: Share it or put it on your website

Where: Your email, messages or website

Paste the link into a message, or behind a Buy button on your website. To email one client directly instead, use Send to… from the same menu.

You will know it worked when: Opening the link shows the bundle with its price and a way to buy it.

### Step 4: What your client does

Where: The buy page

Your client enters their details, gives consent and pays, including any margin you added. They then verify their email address, and their referral is created.

You will know it worked when: The order appears in your Orders, and the client in your Clients.

## Sell in your Shopify store

Practices that already sell through Shopify and want orders to flow into Eirly automatically.

### Step 1: Save a bundle for each product

Where: Catalogue, then Test Bundles

Create a bundle that matches each Shopify product, and save it as a template at the last step. Only saved bundles can be linked to a store. Using the same names as your Shopify products makes the next steps easier.

You will know it worked when: Each product you sell has a saved bundle.

### Step 2: Copy your Shopify signing secret

Where: Shopify admin: Settings, then Notifications, then Webhooks

Copy the signing secret shown under "Your webhooks will be signed with". You need it in the next step.

You will know it worked when: The signing secret is on your clipboard.

### Step 3: Add your store in Eirly

Where: Settings, then Integrations, then Configure new store

Choose Shopify. Enter a Store Name and a Store Id (unique, and it cannot be changed later), paste the signing secret into Store Signing Secret, and click Add.

You will know it worked when: Your store is listed under Integrations.

### Step 4: Link each bundle to its Shopify product

Where: Your store in Integrations, then Add saved bundle to store

Select a bundle, then enter the Shopify product ID: in Shopify admin, open the product, and the ID is the number at the end of the address. Repeat for each product, then click Add products to store.

You will know it worked when: Each bundle shows its Shopify product ID.

### Step 5: Create the webhook in Shopify

Where: Your store in Integrations, Webhook Configuration; then Shopify admin: Settings, Notifications, Webhooks

Copy the Webhook URL from Eirly. In Shopify, click Create webhook, paste the URL, choose the event Order payment and the latest API version, and save.

You will know it worked when: Shopify lists the webhook for Order payment.

### Step 6: Run a test order

Where: Your Shopify store

Buy one of the linked products, ideally against staging and a Shopify development store first. Eirly receives the order, bills your organisation, and invites the buyer to create an account; their referral is created once they verify.

You will know it worked when: The order appears in your Orders and the buyer in your Clients.

## Questions

**What does my organisation pay for each sale?** Your organisation's price for the bundle, as shown in the app. What you charge in your Shopify store, or as margin on a buy link, is up to you.

**Can I sell a bundle that includes a Medicare-billed test this way?** No. A bundle with a test billed to Medicare has no buy link and cannot be bought by the client; order it for them instead.

**Does a store I set up in staging carry over to production?** No. Set up the store, bundles and webhook again in production. Staging never reaches a lab.

**Do you support other shop platforms?** The app also supports Webflow stores. For anything else, use a buy link, or contact support@eirly.health.

## Next

- [Find a test and its price](https://eirly.health/how-to/find-a-test-and-its-price): Search the Test Catalogue and read your organisation's prices.
- [Getting started with the staging environment](https://eirly.health/how-to/getting-started-with-staging): Try the whole flow free before going live.

Source: https://eirly.health/how-to/sell-bundles-with-a-buy-link-or-shopify (this file: https://eirly.health/how-to/sell-bundles-with-a-buy-link-or-shopify.md). Eirly Health, Australia. Staging never reaches a lab; use made-up people only.
