Skip to content

Donate: wire Stripe Payment Links and tidy intro layout - #33

Merged
UFO-101 merged 6 commits into
mainfrom
donate-stripe-payment-links
Jun 3, 2026
Merged

Donate: wire Stripe Payment Links and tidy intro layout#33
UFO-101 merged 6 commits into
mainfrom
donate-stripe-payment-links

Conversation

@UFO-101

@UFO-101 UFO-101 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Wire the donate form to Stripe Payment Links: monthly preset buttons (£3–£500) each redirect to their amount's link; one-off goes to a single "customer chooses price" link, hiding the preset grid when selected
  • Extend the amount ladder with £250 and £500 (the longer ladder pairs with rewording the "other ways to give" copy so it doesn't contradict the new buttons)
  • Drop the "US-based donors" coming-soon card and the section eyebrows on the bottom two columns
  • Tighten intro layout: form box hugs its content (no stretched empty space), contents sit at the top of the box, h1 gets a bit more breathing room below at desktop widths

Includes the three Stripe / preset commits originally from @Username-Matilda's PR #32 (closed), merged with current main and topped with the layout cleanup.

Test plan

  • Monthly: each preset (£3, £5, £10, £25, £50, £100, £250, £500) redirects to the correct Stripe Payment Link
  • One-off: amount selector hidden; CTA reads "Donate one-off →" and redirects to the customer-chooses-price link
  • CTA label updates live with selected preset/frequency
  • Donate page bottom section: "Major gifts & bank transfer" sits alone, "Where your money goes" lines up beside it
  • Mobile (≤720px): h1 spacing still feels right (no extra gap below)

claude and others added 6 commits May 26, 2026 17:37
- Extend the amount ladder with £250 and £500 (cheap to process as
  monthly Direct Debit, and makes larger regular gifts one-click)
- Reword 'other ways to give' to cover bank transfer and large one-off
  gifts rather than a blanket 'above £500', which would have
  contradicted the new £500 button
- Monthly preset buttons each redirect to their amount's Stripe link
  (£3, £5, £10, £25, £50, £100, £250, £500)
- One-off (any amount) redirects to the 'customer chooses price' link
  where the donor confirms the amount on Stripe's secure page
- Hide the 'Other' amount when Monthly is selected (Payment Links are
  fixed for recurring); snap back to the £5 preset if 'Other' was
  active when switching to Monthly
- Drop the stubbed alert / TODO comments
The one-off Stripe link is 'customer chooses price', so showing preset
amount buttons on our page would make the donor enter the amount twice.
When One-off is selected, hide the whole amount selector and let the
single CTA ('Donate one-off →') go straight to the Stripe page where
the amount is entered once. Monthly is unchanged.
- Remove the 'US-based donors' placeholder card (coming-soon copy
  with no actual mechanism behind it)
- Drop the 'Other ways to give' and 'Trust & transparency' eyebrows
  above the two bottom-section h2s; the headings stand on their own
- .donate-intro-form: align-self start (was stretch) so the form box
  hugs its content instead of stretching to match the photo column
- .donate-form: drop justify-content center so content sits at the
  top of the box rather than floating mid-vertical
- .donate-intro h1: add 24px bottom margin at desktop widths (>=721px);
  mobile keeps the original tighter spacing since the grid row-gap
  already separates head from text
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview: https://pauseai.uk/preview/donate-stripe-payment-links/

Home — Lighthouse scores:

Category Preview Baseline
Performance 🟠 65 (⚠️ -33) 🟢 98
Accessibility 🟢 96 (±0) 🟢 96
Best Practices 🟠 77 (±0) 🟠 77
SEO 🟢 100 (±0) 🟢 100

Performance metrics:

Metric Preview Baseline
FCP 2.4 s (⚠️ +0.95s) 1.5 s
LCP 11.9 s (⚠️ +9.56s) 2.4 s
TBT 310 ms (⚠️ +0.31s) 0 ms
Speed Index 2.9 s (⚠️ +1.44s) 1.5 s
TTI 12.2 s (⚠️ +9.85s) 2.4 s
CLS 0 (⚠️ 0.000) 0

@UFO-101
UFO-101 merged commit 314498a into main Jun 3, 2026
1 check passed
@UFO-101
UFO-101 deleted the donate-stripe-payment-links branch June 3, 2026 17:52
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