Donate privacy upstream - #32
Closed
Username-Matilda wants to merge 3 commits into
Closed
Conversation
- 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.
Contributor
|
🔍 Preview: https://pauseai.uk/preview/donate-privacy-upstream/ Home — Lighthouse scores:
Performance metrics:
|
Owner
|
oh dear. I'm really sorry Matilda, this PR conflicts with #31 which migrates us to Next.js That's my bad, I should have told you we had the other PR pending. So I'm going to close this and we'll have to make these changes again once that PR is merged. |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a donations page wired to Stripe, a privacy policy, and a cookie consent banner, with Donate/Privacy surfaced in the nav and footer. Built on the current site structure (dropdown nav, sub-page footer, shared
styles.css).New pages
/donate— wired to Stripe Payment Links (no backend, no secrets):/privacy— UK GDPR notice with split controllers: Safe AI Alliance Ltd for donation data, Stichting PauseAI for sign-up/volunteer/newsletter data and analytics. Links out to Stichting PauseAI's policy for the data they control.Cookie banner + analytics (please review carefully)
<head>of each page that had it, with no consent. It's now loaded only after the visitor accepts a cookie banner, via a consent loader inscript.js(choice stored inlocalStorage; a "Cookie settings" footer link re-opens it).<body data-no-analytics>).Nav & footer
Notes
hello@pauseai.ukto match the site's general contact.site/donate/donate.js(they're public URLs — no secrets in the repo).Test plan
/donaterenders; each Monthly preset redirects to its Stripe link with the right amount + recurring frequency/privacyrenders; all links resolve/donate