Add pay-later button to the bulk payment ticket#2009
Draft
maebeale wants to merge 1 commit into
Draft
Conversation
A payer who submitted the bulk payment form without paying (chose "Credit card (later)" or "Check") had no self-serve way to complete a card payment — the ticket only showed "Payment pending". This adds a "Pay with credit card" button on the pending ticket, mirroring Registrations#pay: it opens a Stripe Checkout session for the submission's expected total. The resulting charge already flows through the existing webhook (PayChargeExtensions#create_bulk_payment) to record the payment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
maebeale
force-pushed
the
maebeale/bulk-payment-pay-button
branch
from
July 22, 2026 18:10
93bac09 to
4766654
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 suggested review level: 3 Read 📖 small controller action + route + one view button, mirrors the existing Registrations#pay flow
Lets a bulk-payment payer who submitted without paying (chose "Credit card (later)"/"Check") come back and pay by card — the ticket previously only showed "Payment pending" with no way to complete payment.
POST bulk_payment/:slug/pay→BulkPayments#pay, mirroringRegistrations#pay: opens a Stripe Checkout session for the submission’s expected total.PayChargeExtensions#create_bulk_payment) — no backend changes.Guards: already-paid → back to ticket; nothing due (free/zero attendees) → back to ticket.