Skip to content

HOLD: Remove Credit Card option from payment and allocation filters#1859

Draft
maebeale wants to merge 1 commit into
mainfrom
maebeale/remove-creditcardpayment
Draft

HOLD: Remove Credit Card option from payment and allocation filters#1859
maebeale wants to merge 1 commit into
mainfrom
maebeale/remove-creditcardpayment

Conversation

@maebeale

Copy link
Copy Markdown
Collaborator

Why

  • The CreditCardPayment payment type is no longer used, but it still appears as a "Credit Card" option in two filter dropdowns. Selecting it can only ever return zero results.
  • Removing it keeps the filters limited to payment types that actually exist.

What

  • Drop Credit Card → CreditCardPayment from the payments Type filter (app/views/payments/_search_boxes.html.erb).
  • Drop the same option from the allocations Source type filter (app/views/allocations/_search_boxes.html.erb).

Notes

  • HOLD: — opening as a placeholder; confirm CreditCardPayment is truly retired (no historical records still typed as CreditCardPayment that admins need to filter for) before merging.
  • Left Events::PublicRegistrationsController#credit_card_payment? untouched — that's the event-registration "payment method" form field that routes to Stripe checkout, unrelated to the CreditCardPayment polymorphic type.

🤖 Generated with Claude Code

The CreditCardPayment type is no longer used; drop it from the
payments Type filter and allocations Source type filter so the
dropdowns only offer payment types that actually exist.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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