Transparency update on what we've learned so far.
As we've been digging deeper into the revenue calculation pipeline, we've uncovered a significant amount of hidden logic embedded across our system — particularly around how tax, returns, and refunds are computed. Many of these calculations have implicit rules and edge cases that were never clearly documented or aligned with product specifications.
For example: tax-inclusive vs tax-exclusive pricing, partial refund adjustments, cross-month return attribution, and order-level vs line-item-level discount allocation each have their own quirks that interact in non-obvious ways. Some of this logic was written years ago to handle specific Shopify behaviors, but the reasoning behind it was never captured — making it fragile and hard to verify.
We're planning to work closely with our product team to review and refine these calculation rules from the ground up — ensuring every formula is clearly defined, well-documented, and testable. This won't happen overnight, but it's the right investment to prevent these kinds of issues from recurring.
In the meantime, we're continuing to fix the immediate accuracy issues and verify numbers shop by shop.
Insight In Progress