Assignign Subscription Plans to Variants

Topic summary

A developer successfully creates products, variants, and selling plan groups via GraphQL mutations and assigns subscription plans to variants. However, subscriptions don’t appear on the storefront or initiate properly at checkout—purchases process as one-time only.

Key troubleshooting steps attempted:

  • Verified selling plans display correctly in Shopify admin
  • Confirmed selling plan ID needs to be passed when adding items to cart
  • Discovered selling plan data isn’t accessible via AJAX API or in the product object on frontend
  • Attempted implementing Shopify’s example code for purchase options in Dawn theme without success
  • Spent a week refactoring the app, reviewing documentation, and checking scopes

Resolution:
The issue was resolved by adding a checkout system (beyond ‘bogus payment processor’) to make the store eligible for subscriptions. The selling plan creation and assignment were functioning correctly—the missing piece was proper payment processor configuration to enable subscription functionality at checkout.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

Okay. Figured it out. I needed to add a checkout-system besides ‘bogus payment processor’ to get the store to make the store eligible for subscription. Duh.

1 Like