Skip to content

Send old tickets to the new registration's balance - #2949

Merged
maebeale merged 3 commits into
mainfrom
maebeale/old-ticket-reads-new-balance
Nov 5, 2026
Merged

maebeale merged 3 commits into
mainfrom
maebeale/old-ticket-reads-new-balance

Conversation

@maebeale

@maebeale maebeale commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 small read-path change on the old ticket plus a dev-only seed

Old tickets now show the balance on the new registration, because people who had already paid there were still told "Make your payment" on a page with no Pay button.

  • Payment card: reads the new reg's balance, so it shows Paid once that clears.
  • Payment page: redirects to the new reg's page, which has the history, balance, and Pay.
  • Transfer with no destination yet: keeps today's behavior.
  • Dev seed: rake db:seed:transfers adds paid, intends-to-pay, and partial transfers.

Worth a close look

  • Redirect, not a second copy: the old payment page no longer renders once a new reg exists, so its transferred-out banner doesn't show there.
  • Staff views unchanged: the old reg's roster row and admin page still show that reg's own figures.

Stacked on #2945

Features seed

  • Added a features seed

UI Testing Checklist

  • Old ticket's payment card reads Paid once the new reg is paid
  • Old ticket's payment card opens the new reg's payment page
  • rake db:seed:transfers runs twice without duplicates

🤖 Generated with Claude Code

@maebeale
maebeale marked this pull request as ready for review November 5, 2026 16:10
@maebeale
maebeale force-pushed the maebeale/transferred-registrant-payments branch from 9fee11b to b04f6aa Compare November 5, 2026 17:32
@maebeale
maebeale force-pushed the maebeale/old-ticket-reads-new-balance branch from 3168760 to 6e6eb63 Compare November 5, 2026 17:32
@maebeale
maebeale force-pushed the maebeale/transferred-registrant-payments branch from b04f6aa to 823abaf Compare November 5, 2026 18:02
@maebeale
maebeale force-pushed the maebeale/old-ticket-reads-new-balance branch from 0113563 to 92b3508 Compare November 5, 2026 18:02
Base automatically changed from maebeale/transferred-registrant-payments to main November 5, 2026 19:03
maebeale and others added 3 commits November 5, 2026 14:03
Once a transferred registrant paid on the new registration, the old ticket still
said "Make your payment" with a balance due, and its payment page has no Pay
button. It was a dead end, and it told people who had paid that they still owed.

Also seeds transfer scenarios, since reviewers had no data to try this with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Let a balance carried into a free event be paid

Someone who transferred into a free event with money still owed had no Pay
button, so they stayed locked out of payment-gated callouts with no way to
settle it. The ticket judged that from the new event's price, but the balance
is priced at the original event.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Link the free-event balance seed to its PR

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Put each transfer notice sentence on its own line

The notices ran together as one block, so registrants had to read through
it to find where to pay and where their records stay. Short sentences on
separate lines make each point easy to spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/old-ticket-reads-new-balance branch from 92b3508 to 639a276 Compare November 5, 2026 19:04
@maebeale
maebeale merged commit 1c071fa into main Nov 5, 2026
3 checks passed
@maebeale
maebeale deleted the maebeale/old-ticket-reads-new-balance branch November 5, 2026 20:48
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