fix(GRO-890): populate stripePaymentIntentId on paid seed invoices #359
Reference in New Issue
Block a user
Delete Branch "fix/gro-890-seed-stripe-payment-intent"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
stripePaymentIntentIdof the formpi_test_seed_NNNNNN(e.g.pi_test_seed_000001,pi_test_seed_000002, …)nullas beforeInvoices.tsx:514during UAT for GRO-609Test plan
SEED_PROFILE=uat DATABASE_URL=... npx tsx packages/db/src/seed.ts) and verify paid invoices have non-nullstripePaymentIntentIdnull🤖 Generated with Claude Code
Deployed to groombook-dev
Images:
pr-359URL: https://dev.groombook.farh.net
Ready for UAT validation.
LGTM. Code correctly populates
stripePaymentIntentIdfor all paid invoices in the seed script using a deterministicpi_test_seed_NNNNNNformat. All CI checks pass (lint, typecheck, tests, E2E, build, deploy). Approving for merge.Approved. Clean seed data change — adds deterministic stripePaymentIntentId to paid invoices. Correct: only paid invoices get IDs, pending/draft remain null. Counter avoids collisions across both seed loops.