We’re on Shopify App Pricing with usage billing through the App Events API, and every usage event sent during a merchant’s free trial is being refused. We’d like to know whether that’s intended, and how to price around it.
Setup
- Two public plans, both hybrid (recurring fee + usage meter), both with a 30-day free trial:
- Plan A: $10/30 days, first 20,000 units included, then $0.0005/unit
- Plan B: $30/30 days, first 100,000 units included, then $0.0003/unit
- Events go to POST https://api.shopify.com/app/unstable/events in real time (seconds after the usage happens), each with a unique idempotency_key
What we see
- Every event gets 202 Accepted.
- In the Partner Dashboard logs, events from shops in their trial show billing result PERIOD_CLOSED, message “Billing cycle is missing or incomplete for shop_id: …”.
- A trialing subscription returns trialEndsAt and currentBillingCycle: null, so there’s no cycle for the events to land in.
Our expectation came from the legacy Billing API, where a trial only covers the recurring charge and usage is still billed.
- Is usage during an App Pricing trial billable at all? If not, is that intended?
- Can a plan’s trial waive only the recurring fee while overage is still charged?
- If neither, what do you recommend? Stop sending events during trials, cap trial usage, or avoid trials on metered plans?
Right now a trial shop gets unlimited usage free for 30 days, so we’d appreciate a documented answer.
Hi @saharshv, thanks for the writeup. I’ve looked into this and the current behavior matches what you’re seeing, but the docs don’t cover how usage events interact with App Pricing trials, so I’m confirming the details with the billing team before giving you a full answer.
I’ll follow up here once I hear back from them!
Hi @saharshv, I heard back from the billing team and they confirmed what you’re seeing.
No, usage during an App Pricing free trial isn’t currently billed. The trial applies to the whole subscription, including usage. The merchant’s first billing cycle starts when the trial ends, so events timestamped inside the trial get PERIOD_CLOSED and aren’t billed, then or later. You’re right that this differs from the legacy Billing API, where usage records could bill during a trial.
There’s no way to apply a free trial to only the recurring fee, and usage caps aren’t supported on App Pricing plans.
There are two supported ways to handle trials on a metered plan.
- Keep the trial and limit usage inside your app while it runs (for example, “the trial includes 500 units”). Disclose that limit to merchants in your app listing and in the app.
- Set the plan’s trial to 0 days so the recurring fee and usage bill from day one. If you want a free period, offer a free plan that merchants upgrade from.
Stopping events during the trial is fine. While a subscription is in its trial, currentBillingCycle is null, so you can skip sending billing events until it has a value. Don’t hold trial usage to report after the trial ends, or bill it outside Shopify. That isn’t allowed, and held events would be rejected as outside the cycle anyway.
The docs don’t cover this yet, and the team is adding a note to the free trials page. Thanks again for raising this here!