Skip to content

feat(billing): add Stripe sandbox verification(Phase 6 Stripe Sandbox)#977

Draft
law-chain-hot wants to merge 1 commit into
codex/billing-v3-pr5-paymentfrom
codex/billing-v3-pr6-stripe-sandbox
Draft

feat(billing): add Stripe sandbox verification(Phase 6 Stripe Sandbox)#977
law-chain-hot wants to merge 1 commit into
codex/billing-v3-pr5-paymentfrom
codex/billing-v3-pr6-stripe-sandbox

Conversation

@law-chain-hot

Copy link
Copy Markdown
Contributor

Summary

  • wire stage-scoped Stripe API and webhook secrets into the API service
  • add a guarded Stripe CLI listener that checks test mode, account identity, webhook secret, and consumed event types
  • add a real browser + PostgreSQL Stripe Sandbox E2E for payment setup and a $5 top-up
  • clarify saved-card consent before redirecting to Stripe

Verification

  • yarn test:billing:verify
  • yarn e2e:billing:stripe
  • 63 API tests, 9 Stripe config tests, 7 PostgreSQL edge tests, 39 Dashboard tests
  • API and Dashboard production builds
  • real Stripe result: +500 cents and exactly one wallet ledger credit

Scope

  • no database schema changes
  • reconcile, refund/dispute handling, and operational recovery remain in the next PR

@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6b14d0c0-9613-441f-97a1-c07bf93995b6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/billing-v3-pr6-stripe-sandbox

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@law-chain-hot law-chain-hot changed the title feat(billing): add Stripe sandbox verification feat(billing): add Stripe sandbox verification(Phase 6 Stripe Sandbox) Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant