Repository navigation
Conversation
… tier Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Held: money wording, waits for the product owner's go-ahead. Do not merge before it.
Four docs pages say a refund does not lower the revenue counted toward a program's $10,000 fee-free tier. Since cms#384 (merge 88d86c9, live since v3.16.68) the code does: a refund lowers it by the refunded amount, never by more than that sale added. Exact new words:
getting-started/pricing-performance-model.mdx($10K guarantee): "A refund lowers the revenue counted toward it by the refunded amount, never by more than that sale added."brand/quickstart/commission-approval-cash-flow.mdx(refund handling): "Platform fees already billed are not refunded, and a refund lowers the revenue total that counts toward your program's $10,000 fee-free tier by the refunded amount, never by more than that sale added."faq/index.mdx(What happens if there is a refund?): same sentence.api-reference/track-refund.mdx(side effects): "lowers the revenue counted toward your program's $10,000 fee-free tier by the refunded amount, never by more than that sale added".Why
The docs must match the code. Split out of the nav-v2 paths PR so that one can ship separately.
How verified
commission-refund.ts:272-280,revenue-counter.ts:1-6,52-57,affiliate-fee.ts:10-16,212. Every refund path callsreverseCommissionForRefund:v1-tracking.ts:1617,webhook-distributor.ts:2030, dispute and invoice paths.🤖 Generated with Claude Code