Skip to content

feat(donate): swap donation button to classic PayPal Donate form#10

Merged
mrwind-up-bird merged 1 commit into
mainfrom
feat/paypal-donate-button
Jul 3, 2026
Merged

feat(donate): swap donation button to classic PayPal Donate form#10
mrwind-up-bird merged 1 commit into
mainfrom
feat/paypal-donate-button

Conversation

@mrwind-up-bird

Copy link
Copy Markdown
Contributor

Was

Stellt den Spenden-Button auf den klassischen PayPal-Donate-Button um (hosted_button_id=GCRR5BM8K8D22).

  • Neu PayPalDonateButton.tsx — reines HTML-<form> (POST an paypal.com/donate), kein PayPal-SDK. Anders als der SDK-Hosted-Button (der wegen Nav-Breakage in ein srcdoc-iframe isoliert werden musste, siehe PayPalHostedButton) hat dieses Form keine DOM/Layout-Seiteneffekte und rendert sicher inline als Server-Component. Gestylt als Marken-Gold-Button (.nh-ticket-btn) statt der gif-Grafik; öffnet PayPal in neuem Tab (target="_blank", Seite bleibt offen).
  • NoirDonateSection.tsx — bisheriger Spenden-Button (NCP QT6LRLS3DQTW4, iframe-isoliert) ersetzt. Tickets unverändert (bleiben auf dem NCP-Hosted-Button).

Verhalten

Der klassische Donate-Button führt zu PayPal (kein Inline-Bezahlen im iframe mehr) — das ist bei diesem PayPal-Produkt so.

Gates

npx tsc --noEmit + npm run build grün; npm test 23/23.

🤖 Generated with Claude Code

…led, no SDK)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mrwind-up-bird mrwind-up-bird merged commit 394163e into main Jul 3, 2026
1 check passed
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