fix(events): let guests default to the card rail in the purchase dialog #146

Merged
padreug merged 1 commit from fix/events-guest-default-rail into dev 2026-09-08 13:24:41 +00:00

1 commit

Author SHA1 Message Date
1e43e8ed0a fix(events): let guests default to the card rail in the purchase dialog
`selectedMethodId` started as 'lightning', so the "keep the current
selection" guard in the default-rail watcher always found a match and the
guest preference for fiat never applied — verified on demo, where an
anonymous buyer saw "Proceed" (Lightning) preselected with Card on offer.
Start empty and reset to empty on close so each open re-evaluates:
guests land on Card when it exists, everyone else on the first enabled
rail, exactly as the comment already promised.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYwoAkZZmXMMmaBp4WGUBo
2026-09-08 13:02:31 +02:00