Skip to content

[v4] Feat: Add IRA payment method and new DAF Icon - #471

Merged
johnemau merged 1 commit into
john-with-claude/preact-cli-support-454a21from
john-with-claude/ira-donate-page-missing-0eb17f
Oct 8, 2026
Merged

johnemau merged 1 commit into
john-with-claude/preact-cli-support-454a21from
john-with-claude/ira-donate-page-missing-0eb17f

Conversation

@johnemau

@johnemau johnemau commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Parody with Every.org

  • Add IRA Payment Method to Button v4
  • Replace DAFPay Icon with new DAF ico

Stacked on

BEFORE AFTER
DAFPay Icon New DAF Icon + IRA
Production widget: no IRA, Chariot DAF logo This branch: IRA selected, one-time only

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
donate-button Ready Ready Preview Oct 8, 2026 7:33pm UTC

Request Review

@johnemau johnemau changed the title Add IRA payment method to donate widget [v4] Add IRA payment method and new DAF Icon Oct 8, 2026
@johnemau johnemau changed the title [v4] Add IRA payment method and new DAF Icon [v4] Feat: Add IRA payment method and new DAF Icon Oct 8, 2026
@johnemau
johnemau marked this pull request as ready for review October 8, 2026 19:04
@johnemau
johnemau requested review from Exploding, Fishbakh-N, jiwon85 and santiher and a balanced review from Copilot October 8, 2026 19:04
@johnemau
johnemau added this pull request to stack #472 October 8, 2026 19:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

IRA currently displays incorrect tax-deductibility language in the FAQ and footer.

1 open finding
What changed in this PR

Adds IRA donations to the v4 widget and refreshes the DAF payment icon.

Changes:

  • Adds IRA selection, ordering, one-time enforcement, fee copy, and icon.
  • Replaces the branded DAFPay icon with a configurable-color DAF icon.
File Description
PaymentMethod.ts Registers and orders IRA as a one-time method.
IraIcon.tsx Adds the IRA icon.
DafIcon.tsx Replaces the DAF icon.
NameForPaymentMethod.tsx Adds the IRA label.
IconForPaymentMethod.tsx Maps IRA to its icon.
Frequency/​index.tsx Adds IRA one-time messaging.
Faq/​helpers.tsx Adds IRA fee information.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Problem: Embeds such as projectceti.org do not offer IRA, although every.org's donate page does.

Root Cause: The widget's PaymentMethod enum has no `ira` value. mergeConfig and parseDonateUrl drop methods outside the enum, and the default method list is built from the enum.

Solution: Add `ira` with its name and icon, list it as one-time only like DAF, and add the every.org fee FAQ text. Submitting redirects to every.org with `method=ira`, which opens the existing IRA (QCD) flow. Replace the DAF icon (Chariot "DAF pay" logo) with every.org's outline DAF icon so it matches the new IRA icon and every.org's donate page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johnemau
johnemau force-pushed the john-with-claude/ira-donate-page-missing-0eb17f branch from 048e61e to f8259b1 Compare October 8, 2026 19:33
@johnemau
johnemau merged commit 11a5dd7 into main Oct 8, 2026
6 checks passed
@johnemau
johnemau deleted the john-with-claude/ira-donate-page-missing-0eb17f branch October 8, 2026 19:34

This branch was successfully deployed

1 active deployment
Preview — f8259b12 Deployed Oct 8, 2026 by vercel[bot]
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.

3 participants