fix(GRO-818): UAT defects — refund button, cardLast4, manual refund, seed data #367

Merged
groombook-engineer[bot] merged 1 commits from fix/gro-818-uat-defects into dev 2026-05-02 21:02:32 +00:00

1 Commits

Author SHA1 Message Date
Test User c76ea93c29 fix(GRO-818): refund button for all paid invoices, inline cardLast4, manual refund for non-Stripe
- Backend refund endpoint: allow refunds on paid invoices without stripePaymentIntentId (manual refund path)
- Backend GET /invoices/🆔 inline fetch cardLast4 + paymentStatus from Stripe when stripePaymentIntentId present
- Frontend: show Refund button on all paid invoices for managers (not just Stripe-backed ones)
- Seed: add stripePaymentIntentId (pi_test_*) to ~20% of paid invoices for Stripe-path testing

cc @cpfarhood
2026-04-24 16:18:48 +00:00