fix(pricing): correct pro plan fee messaging - #1399
Conversation
Update Pro plan pricing messaging to accurately reflect the 1% fee on credit purchases instead of the misleading "NO fees" claim, matching the actual implementation in fees.ts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughMinor copy updates across UI and email templates to clarify pricing: several "no fees" phrases replaced with explicit "80% less fees" / "1% vs 5%" wording. No functional, control-flow, or API changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR corrects misleading Pro plan pricing messaging by replacing false "NO fees" claims with accurate "1% fee on credit purchases" language. The changes align with the actual implementation where PRO_PLAN_FEE_PERCENTAGE = 0.01 is defined in packages/shared/src/fees.ts.
Key Changes:
- Updated pricing plans page to show "Only 1% fee on credit purchases" instead of "NO fees on credit purchases"
- Updated upgrade dialog to clarify "No surcharges for API keys, only 1% fee on credits"
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/ui/src/components/landing/pricing-plans.tsx | Updated Pro plan feature list to accurately state the 1% fee on credit purchases |
| apps/ui/src/components/shared/upgrade-to-pro-dialog.tsx | Updated upgrade dialog benefits to clarify the 1% fee applies to credits, not API keys |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
apps/ui/src/components/landing/pricing-plans.tsxapps/ui/src/components/shared/upgrade-to-pro-dialog.tsx
🧰 Additional context used
📓 Path-based instructions (6)
**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.{ts,tsx}: Never useanyoras anyunless absolutely necessary in TypeScript code
For database reads: Usedb().query.<table>.findMany()ordb().query.<table>.findFirst()
Files:
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsxapps/ui/src/components/landing/pricing-plans.tsx
**/*.{ts,tsx,js,jsx,json,md}
📄 CodeRabbit inference engine (CLAUDE.md)
Always use tabs for indentation
Files:
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsxapps/ui/src/components/landing/pricing-plans.tsx
**/*.{ts,tsx,js,jsx}
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.{ts,tsx,js,jsx}: Always use top-levelimport, never use require or dynamic imports
No unnecessary code comments
Files:
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsxapps/ui/src/components/landing/pricing-plans.tsx
apps/{ui,playground}/**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
apps/{ui,playground}/**/*.{ts,tsx}: Use cookies for user-settings which are not saved in the database to ensure SSR works
Use Next.js App Router with React Server Components for frontend developmentUse cookies for user-settings which are not saved in the database to ensure SSR works
Files:
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsxapps/ui/src/components/landing/pricing-plans.tsx
**/*.{js,ts,tsx,jsx}
📄 CodeRabbit inference engine (AGENTS.md)
Always use top-level
import, never use require or dynamic imports
Files:
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsxapps/ui/src/components/landing/pricing-plans.tsx
apps/{ui,playground,docs}/**/*.{ts,tsx}
📄 CodeRabbit inference engine (AGENTS.md)
Use
next/linkfor links andnext/navigation's router for programmatic navigation
Files:
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsxapps/ui/src/components/landing/pricing-plans.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
- GitHub Check: test / run
- GitHub Check: generate / run
- GitHub Check: lint / run
- GitHub Check: build / run
- GitHub Check: autofix
🔇 Additional comments (2)
apps/ui/src/components/shared/upgrade-to-pro-dialog.tsx (1)
159-159: LGTM! Consistent and accurate fee messaging.The updated text correctly clarifies that Pro plan users have no surcharges on API keys but do have a 1% fee on credit purchases (80% less than the Free plan's 5%). This change aligns perfectly with the updated messaging in the pricing plans component.
apps/ui/src/components/landing/pricing-plans.tsx (1)
227-227: LGTM! Corrects misleading fee messaging.The updated text accurately reflects the 1% fee on credit purchases for Pro plans and clearly highlights the 80% reduction compared to the Free plan's 5% fee. This aligns with the PR objective to fix the misleading "NO fees" claim.
Update remaining outdated fee claims: - Pricing page heading: "no fees" → "low fees" - Enterprise features: "No Fees on Credits" → "Lowest Fees on Credits" - Welcome email: "No fees" → "80% lower fees (1% vs 5%)" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
apps/api/src/utils/email.ts (1)
175-175: LGTM! Fee messaging updated correctly.The updated text accurately reflects the 1% Pro plan fee compared to the 5% free plan fee (80% reduction). The change aligns well with the PR objectives.
Optional consistency note: This line uses "credit top-ups" while other UI components in the PR use "credit purchases". Consider standardizing the terminology across all customer-facing text for consistency, though both terms are clear.
apps/ui/src/components/enterprise/features.tsx (1)
24-26: LGTM! Fee messaging updated accurately.The Wallet feature text now correctly reflects the 1% platform fee on credit purchases, and "Lowest Fees on Credits" is an appropriate claim for the Enterprise tier.
Optional consistency consideration: Other components in this PR include the explicit comparison "(1% vs 5%)" to quantify the savings. Consider whether adding this comparison here would strengthen the value proposition for Enterprise prospects, though the current messaging is clear and effective.
📜 Review details
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
apps/api/src/utils/email.tsapps/ui/src/components/enterprise/features.tsxapps/ui/src/components/landing/pricing-plans.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
- apps/ui/src/components/landing/pricing-plans.tsx
🧰 Additional context used
📓 Path-based instructions (9)
**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.{ts,tsx}: Never useanyoras anyunless absolutely necessary in TypeScript code
For database reads: Usedb().query.<table>.findMany()ordb().query.<table>.findFirst()
Files:
apps/ui/src/components/enterprise/features.tsxapps/api/src/utils/email.ts
**/*.{ts,tsx,js,jsx,json,md}
📄 CodeRabbit inference engine (CLAUDE.md)
Always use tabs for indentation
Files:
apps/ui/src/components/enterprise/features.tsxapps/api/src/utils/email.ts
**/*.{ts,tsx,js,jsx}
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.{ts,tsx,js,jsx}: Always use top-levelimport, never use require or dynamic imports
No unnecessary code comments
Files:
apps/ui/src/components/enterprise/features.tsxapps/api/src/utils/email.ts
apps/{ui,playground}/**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
apps/{ui,playground}/**/*.{ts,tsx}: Use cookies for user-settings which are not saved in the database to ensure SSR works
Use Next.js App Router with React Server Components for frontend developmentUse cookies for user-settings which are not saved in the database to ensure SSR works
Files:
apps/ui/src/components/enterprise/features.tsx
**/*.{js,ts,tsx,jsx}
📄 CodeRabbit inference engine (AGENTS.md)
Always use top-level
import, never use require or dynamic imports
Files:
apps/ui/src/components/enterprise/features.tsxapps/api/src/utils/email.ts
apps/{ui,playground,docs}/**/*.{ts,tsx}
📄 CodeRabbit inference engine (AGENTS.md)
Use
next/linkfor links andnext/navigation's router for programmatic navigation
Files:
apps/ui/src/components/enterprise/features.tsx
apps/{gateway,api}/**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
Use Hono framework with Zod validation and OpenAPI documentation for backend APIs
Files:
apps/api/src/utils/email.ts
{apps/api,apps/gateway,packages/db}/**/*.ts
📄 CodeRabbit inference engine (AGENTS.md)
{apps/api,apps/gateway,packages/db}/**/*.ts: Use Drizzle ORM with latest object syntax for database operations
For database reads: Usedb().query.<table>.findMany()ordb().query.<table>.findFirst()
Files:
apps/api/src/utils/email.ts
apps/{gateway,api}/src/**/*.ts
📄 CodeRabbit inference engine (AGENTS.md)
apps/{gateway,api}/src/**/*.ts: Use Hono for backend framework in Gateway and API services
Use Zod schemas for validation in Hono services
Files:
apps/api/src/utils/email.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
- GitHub Check: test / run
- GitHub Check: lint / run
- GitHub Check: generate / run
- GitHub Check: build / run
- GitHub Check: autofix
Summary
Updated Pro plan pricing messaging to accurately reflect the 1% fee on credit purchases instead of the misleading "NO fees" claim. This matches the actual implementation in
packages/shared/src/fees.tswherePRO_PLAN_FEE_PERCENTAGE = 0.01.Changes
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.