Skip to content

Fix: DAF and IRA tax statement parody with Every.org - #473

Open
johnemau wants to merge 1 commit into
mainfrom
john-with-claude/widget-tax-statements-stacked
Open

johnemau wants to merge 1 commit into
mainfrom
john-with-claude/widget-tax-statements-stacked

Conversation

@johnemau

@johnemau johnemau commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Also See:

  • everydotorg/every.org/pull/21194
BEFORE (main) AFTER every.org
Intro FAQ main: replaced receipt sentence highlighted red This branch: new receipt sentence highlighted green every.org: old receipt sentence highlighted purple
DAF selected main: DAF selected, removed tax FAQ and 100% claim highlighted red This branch: DAF selected, new receipt FAQ and DAF statement highlighted green every.org: DAF selected, matching text highlighted green
DAF FAQ main: removed DAF tax FAQ highlighted red This branch: new DAF receipt FAQ highlighted green every.org: matching DAF receipt FAQ highlighted green
DAF footer main: removed 100% claim highlighted red This branch: new DAF statement highlighted green every.org: matching DAF statement highlighted green
IRA selected main: IRA selected, removed tax FAQ and 100% claim highlighted red This branch: IRA selected, new receipt FAQ and QCD statement highlighted green every.org: IRA selected, matching text highlighted green
IRA FAQ main: removed IRA tax FAQ highlighted red This branch: new IRA receipt FAQ highlighted green every.org: matching IRA receipt FAQ highlighted green
IRA footer main: removed 100% claim highlighted red This branch: new QCD statement highlighted green every.org: matching QCD statement highlighted green

🤖 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 10:05pm UTC

Request Review

@johnemau
johnemau force-pushed the john-with-claude/widget-tax-statements-stacked branch from cf5445b to c925bd2 Compare October 8, 2026 21:30
@johnemau johnemau changed the title Show DAF and IRA tax statements in donate widget Fix: DAF and IRA tax statements parody with Every.org Oct 8, 2026
@johnemau
johnemau marked this pull request as ready for review October 8, 2026 21:44
Copilot AI balanced review requested due to automatic review settings October 8, 2026 21:44
@johnemau
johnemau enabled auto-merge (squash) October 8, 2026 21:45

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

The FAQ introduction still incorrectly promises tax-deduction eligibility for DAF and IRA donations.

1 open finding
What changed in this PR

Aligns DAF and IRA receipt and tax messaging with Every.org.

Changes:

  • Adds payment-method-specific DAF and IRA statements.
  • Updates the FAQ and footer based on the selected payment method.
File Description
Footer/​index.tsx Passes the selected payment method to footer messaging.
Footer/​helpers.tsx Adds DAF and IRA tax statements.
Faq/​index.tsx Provides method-specific receipt answers.

🧠 Review effort: Balanced


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

Problem: With DAF or IRA selected, the widget's footer and tax FAQ say "100% of your donation is tax-deductible", although neither receipt is tax-deductible. The intro FAQ also says Every.org immediately sends a receipt, which it does not do for pledge-based methods such as DAF and IRA.

Root Cause: The footer and FAQ never pass the selected method to getTaxDeductibleStatement, so DAF_DEDUCTIBLE_STATEMENT is never shown, and there is no IRA (QCD) statement.

Solution: Add every.org's IRA_DEDUCTIBLE_STATEMENT and pass the selected method in the footer. Replace the "Is this donation tax-deductible?" and "Will I receive a receipt for my donation?" FAQ items with every.org's single "Will I receive a tax-deductible receipt for my donation?" item, which shows only the DAF or IRA statement for those methods. Say the receipt is sent once a gift has completed processing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johnemau
johnemau force-pushed the john-with-claude/widget-tax-statements-stacked branch from c925bd2 to 904db43 Compare October 8, 2026 22:05
@johnemau johnemau changed the title Fix: DAF and IRA tax statements parody with Every.org Fix: DAF and IRA tax statement parody with Every.org Oct 8, 2026

This branch was successfully deployed

1 active deployment
Preview — 904db43c 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.

2 participants