"test: true", and "trialDays: number" is being ignored when calling appSubscriptionCreate

Topic summary

A developer is experiencing an issue where the appSubscriptionCreate mutation ignores the test: true and trialDays: 10 parameters, instead returning test: false and trialDays: 0.

Problem Details:

  • When redirected to Shopify’s /charges page, the Cancel button is unavailable and test mode isn’t indicated
  • The developer has properly configured billing settings in shopify.server.ts with a monthly plan including 14 trial days
  • The mutation variables appear correctly structured according to Shopify documentation

Code Context:

  • Using MONTHLY_PLAN constants with TRIAL_DAYS: 14, AMOUNT: 3, and CURRENCY: USD
  • The mutation is called with proper variables including test: true and trialDays set to the plan’s trial days
  • Current access scopes include write_products

Current Status:

  • Shopify staff member (Liam) confirmed the code structure follows documentation correctly
  • Internal development team is investigating the issue
  • Permissions appear adequate (authenticated Admin API access is sufficient)
  • Discussion remains open awaiting findings from Shopify’s internal investigation
Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

Could that by any way be permission issues? I have the current access scope in shopify.app.toml:

[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "write_products"