Skip to content

feat(keychain): add identity verification for Stripe purchases#2492

Merged
broody merged 1 commit intomainfrom
feat/stripe-prove-verification
Mar 16, 2026
Merged

feat(keychain): add identity verification for Stripe purchases#2492
broody merged 1 commit intomainfrom
feat/stripe-prove-verification

Conversation

@broody
Copy link
Contributor

@broody broody commented Mar 16, 2026

Summary

  • Adds identity verification step (first name, last name, phone number) for new users purchasing starterpacks via Stripe, using the accountVerify GraphQL mutation
  • Gates Stripe checkout behind proveVerifiedAt check — verified users skip directly to payment
  • Uses sandbox: !isMainnet to toggle between UAT and production Prove environments

Test plan

  • Purchase starterpack via Stripe as a new (unverified) user — should show verification form before Stripe checkout
  • Purchase starterpack via Stripe as a verified user — should skip directly to Stripe checkout
  • Verify sandbox mode is used on Sepolia and production mode on mainnet
  • Verify form validation (empty fields, invalid phone number)
  • Verify error handling when accountVerify mutation fails

🤖 Generated with Claude Code

…hases

New users purchasing starterpacks via Stripe must verify their identity
with first name, last name, and phone number using the accountVerify
GraphQL mutation before proceeding to payment.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@vercel
Copy link

vercel bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
controller-example-next Ready Ready Preview Mar 16, 2026 8:09pm
keychain Ready Ready Preview Mar 16, 2026 8:09pm
keychain-storybook Ready Ready Preview Mar 16, 2026 8:09pm

Request Review

@broody broody merged commit 322b89e into main Mar 16, 2026
15 of 22 checks passed
@broody broody deleted the feat/stripe-prove-verification branch March 16, 2026 22:19
@claude
Copy link
Contributor

claude bot commented Mar 16, 2026

Claude finished @broody's task —— View job


Documentation Update Complete

I've analyzed the PR and updated the documentation in the docs repository.

Changes Made

User-Facing Impact: This PR adds identity verification for Stripe purchases. New users must provide first name, last name, and phone number before completing checkout. Verified users skip directly to payment.

Documentation Updated:

  • ✅ Added identity verification step (step 5) to the purchase flow in src/pages/controller/starter-packs.md
  • Single canonical edit in the appropriate location following minimal update guidelines

Files Modified

docs-repo/src/pages/controller/starter-packs.md
+ 5. **Identity Verification** (Stripe only): First-time Stripe users must verify their identity by providing first name, last name, and phone number. Verified users skip directly to payment.

Next Steps

The documentation change has been made and staged in the cartridge-gg/docs repository. To complete the update:

  1. Create a new branch in the docs repo
  2. Commit the staged changes
  3. Push and create a PR in the docs repository

The change is minimal, focused, and follows the documentation guidelines:

  • ✅ Single canonical location (starter-packs.md)
  • ✅ Minimal edit (one new step in the purchase flow)
  • ✅ No duplication across multiple pages
  • ✅ User-facing change warranted documentation update

tarrencev added a commit to cartridge-gg/docs that referenced this pull request Mar 16, 2026
Updates documentation to reflect changes made in:
    feat(keychain): add identity verification for Stripe purchases

    Related controller PR: cartridge-gg/controller#2492

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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