[Bug] Shopify App Pricing: Final Usage Charge Incorrectly Becomes $0 After App Uninstall
Hi Shopify team,
I’m reporting a billing issue with Shopify App Pricing and usage-based billing that has already been confirmed by Shopify Partner Support as a platform-side bug.
The issue occurs when a merchant uses a metered app and then uninstalls it before the end of the billing cycle. In one confirmed case, the final usage charge was incorrectly recorded as $0.00, despite the merchant having generated billable usage before uninstalling.
This is particularly concerning for usage-based apps that deliver their value immediately, since merchants may legitimately uninstall the app shortly after completing a task.
1. Billing Configuration
Our app uses Shopify App Pricing with the following configuration:
-
Pricing model: Usage-based billing
-
Monthly subscription base fee: $0
-
Usage meter: Number of images exported
-
Pricing structure: Graduated tiers
-
Usage reporting: Shopify App Events API
-
Billing managed by Shopify App Pricing
The app tracks completed usage in its own system and reports metered events to Shopify for billing.
2. Observed Behavior
The following sequence occurred with an affected merchant:
Step 1 — Subscription activation
The merchant installed the app and activated the usage-based plan.
Step 2 — Billable usage
The merchant used the app to export images, generating a nonzero usage amount according to our application records.
Step 3 — App uninstall
The merchant uninstalled the app shortly afterward, before the end of the billing cycle.
The Partner API recorded:
-
RELATIONSHIP_UNINSTALLED -
SUBSCRIPTION_CANCELLATION_SCHEDULED
Step 4 — Billing cycle finalization
Approximately one billing cycle later, Shopify generated:
-
CHARGE_USAGEwithamount = 0.00 -
SUBSCRIPTION_CANCELED
The final usage charge was zero, despite the previously recorded usage.
No corresponding positive usage earning appeared in our Partner API transaction history.
3. Expected Behavior
For usage events that were successfully validated as billable before uninstall, Shopify should preserve the accumulated metered usage and calculate the correct final usage charge.
Uninstalling an app should not cause previously billable usage to be lost or reset.
4. Additional Observation: Plan Change vs. Direct Uninstall
We observed a different billing sequence with another merchant.
In that case:
-
The merchant activated the same usage-based plan.
-
The merchant generated billable usage.
-
The merchant switched from the usage-based plan to the Free plan.
-
Shopify generated a positive
CHARGE_USAGEevent at the time of the plan change. -
The merchant then uninstalled the app.
This differs from the affected case, where the merchant uninstalled directly from the usage-based plan and a zero-value usage charge was generated at finalization.
We have not established that the plan change itself is responsible for this difference.
However, it may be useful for Shopify’s billing engineering team to compare the usage finalization paths for:
-
Usage-based plan → Free plan → Uninstall
-
Usage-based plan → Direct uninstall → End-of-cycle cancellation
5. Shopify Support Confirmation
We reported the original incident through Shopify Partner Support.
The support team confirmed that the incorrect $0.00 final usage charge was caused by a platform issue on Shopify’s side, and that the billing engineering team was investigating it.
However, we have not yet received confirmation that the issue has been fixed or that the affected usage charges can be recovered.
6. Potential Impact
This issue could have significant financial implications for developers using usage-based billing.
For apps such as data exporters, migration tools, and batch-processing utilities, it is normal for merchants to:
-
Install the app.
-
Complete a large amount of billable work.
-
Uninstall the app after finishing their task.
We currently have other merchants with accumulated usage charges and scheduled subscription cancellations whose billing cycles will end soon.
We are concerned that those charges could potentially be affected by the same issue.
Importantly, this is not simply a case of a merchant failing to pay an invoice. The confirmed incident involved Shopify generating an incorrect zero-value final usage charge.
7. Questions for Shopify Engineering
Could the Shopify team please clarify the following?
-
Fix status: Has the confirmed billing bug been identified, fixed, and deployed to production?
-
Affected scenarios: Is this limited to usage-only plans with a $0 base fee, or could it also affect hybrid subscription-plus-usage plans?
-
Root cause: Is there a known issue with metered usage aggregation or finalization when a subscription is canceled following an app uninstall?
-
Detection: Is there a reliable way for developers to verify that accumulated billable usage will be preserved and correctly charged after uninstall? We understand that an HTTP
202response from the App Events API does not guarantee successful billing validation. -
Mitigation: Is there any supported workaround to prevent this issue for merchants whose billing cycles have not yet ended?
-
Recovery: Will Shopify automatically reprocess or compensate charges affected by this bug, including those already finalized at $0?
We can provide the affected app ID, shop ID, relevant event timestamps, and support ticket reference privately to Shopify staff for further investigation.
Given the potential revenue impact on usage-based apps, confirmation of the current fix status and any available mitigation would be especially helpful.
Thank you.