Skip to main content
This guide explains how to set up Shop Pay as a merchant. When a visitor clicks a buy link, ElasticFunnels creates a draft order in Shopify and sends them to Shopify checkout. Returning customers can use Shop Pay one-click. The overall flow matches the generic merchant setup; use this page for Shop Pay-specific notes.
Shop Pay uses Shopify’s Draft Order API and supports bumps (multiple line items). For a simple cart redirect to your Shopify store, see Shopify Checkout instead.

Prerequisites

  • A Shopify store (same connection as Order Sync). One store per brand
  • Admin access to your Shopify store and to ElasticFunnels
  • Your Shopify store is connected to the brand (see Shopify Order Sync)

Step 1: Connect Shopify and enable Shop Pay

Shop Pay requires your Shopify store to be connected so ElasticFunnels can create draft orders.
  1. Go to Integrations → Operations, find Shopify, and connect your store (see Shopify Order Sync for the full flow)
  2. When connecting (or in the integration settings), enable Shop Pay so the integration can create draft orders
When you enable Shop Pay, a Shop Pay merchant is created automatically and linked to the integration. You do not need to create the merchant manually.

Step 2: Assign merchant to domain

  1. Go to Settings → Domains → Edit Domain
  2. Select your Shop Pay merchant (created in Step 1)
  3. Save

Step 3: Map products

Each product must be linked to a Shopify variant ID (a numeric ID from your Shopify store).
If Enable Shop Pay Merchant was on when you connected the store, ElasticFunnels creates your products in Shopify (one variant each, inventory not tracked) and fills in the variant ID for you; later edits to a product are sent to Shopify too. With Sync orders to Shopify on, the Sync products button on the Shopify card does the same for products not in Shopify yet. Enter a variant ID by hand when the field is still empty, or to use a product that already exists in your Shopify store.
To enter it by hand:
  1. Go to Settings → Products → Edit the product
  2. Open the Merchant information tab
  3. Find the row for your Shop Pay merchant
  4. Enter the Shopify variant ID (numbers only) for this product
  5. Save

How to find your Shopify variant ID

  • Products with variants: In Shopify Admin go to Products → open the product → Variants → click the variant. The URL in your browser will look like .../variants/36485954240671. The number after /variants/ is the variant ID.
  • Products with a single variant: Open the product in Shopify Admin, add .json to the end of the URL, and press Enter. In the JSON, look at the variants array and use the id of the first (or only) variant.
Every Shopify product has at least one variant. Use the variant ID, not the product ID.

How it works

When a visitor clicks a buy link on your funnel:
  • A draft order is created in your Shopify store with the selected product (and any bump products)
  • The customer is redirected to Shopify checkout to complete payment
  • Returning customers can use Shop Pay one-click checkout when available
  • Bumps are supported. Multiple line items can be added to the same draft order
  • When the order is paid, Shopify notifies ElasticFunnels and the sale is recorded with its click ID, products and bonuses. Refunds are linked to the sale
  • There are no one-click upsells: payment happens on Shopify, so each purchase goes through Shopify checkout
  • These orders already exist in Shopify, so Shopify Order Sync does not send them again
There is no “decline” link; if the customer does not complete checkout, they simply leave. Use Postback Setup on the merchant’s row in Settings → Merchants for postback configuration and validation. Use [BUY], [UPSELL], and [DOWNSELL] tags so links auto-adapt per domain and merchant. Avoid pasting hardcoded Shopify or Shop Pay URLs.

Postbacks

Click Postback Setup on the merchant’s row in Settings → Merchants. Its steps are listed on the left: Postback URL (your unique URL, with Copy), then the setup steps for Shopify, then Test. After you configure the postback and trigger a test (or complete a test purchase), keep it open on Test: it checks for the postback every 5 seconds for 2 minutes and marks the merchant verified as soon as the first one arrives.

Troubleshooting

  • “Product missing Shopify product ID” or “missing Shopify product ID”: In the product’s Merchant information tab, enter the Shopify variant ID for the Shop Pay merchant. Use the steps above to find the variant ID in Shopify Admin.
  • “Shop Pay gateway requires a Shopify integration” or “requires a Shopify store domain”: Connect Shopify under Integrations → Operations and turn on Enable Shop Pay Merchant on the Shopify card, so the Shop Pay merchant is created and linked to your store.
  • Wrong gateway on checkout: Verify the domain is assigned to your Shop Pay merchant.
  • Link not working: Confirm the product has the correct Shopify variant ID in Merchant information for this merchant.