-
Notifications
You must be signed in to change notification settings - Fork 453
Allow Coupon from stripe #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@parthshr370 is attempting to deploy a commit to the Proxy Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe change updates the Stripe checkout session creation in the billing API to include the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used📓 Path-based instructions (1)backend/**/*.py📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
🧠 Learnings (2)📚 Learning: propelauth's sdk (auth.fetch_users_in_org and related methods) already handles errors internally and...Applied to files:
📚 Learning: propelauth's `remove_user_from_org` method already handles member existence validation and error cas...Applied to files:
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
✨ No issues found! Your code is sparkling clean! ✨ Need help? Join our Discord for support! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cubic analysis
No issues found across 1 file. Review in cubic
jiwei-aipolabs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
🏷️ Ticket
Fixed ability to add coupons for discount Stripe
📝 Description
how to replicate results -
docker compose down
docker compose up -d
docker compose exec runner python -m aci.cli populate-subscription-plans --skip-dry-run
Terminal 2: Start Stripe webhook forwarding
stripe listen --forward-to localhost:8000/v1/billing/webhook
cd /frontend
pnpm install
pnpm run dev
( make sure to populate the env with SERVER_PROPELAUTH_AUTH_URL , SERVER_PROPELAUTH_API_KEY )
🎥 Demo (if applicable)
📸 Screenshots (if applicable)
✅ Checklist
Summary by cubic
Enabled support for Stripe coupons during checkout, allowing users to apply promotion codes for discounts.
Summary by CodeRabbit