(needs design)
For now, let's have it share the header (and footer?) with the email prefs forms.
https://design.bytrilogy.com/2022-wikimedia-email-preference-center-alt-headers , but without the search field, donate button, or language selector at top right
(need messaging for donors coming in on expired links - should this message be shared with the message for email pref center expired links?)
Show three choices, plus a button "No, I'll leave it as is" to cancel the recurring upgrade request (T335912).
- I’ll add $1 per month
- I’ll add $3 per month
- I’ll add $5 per month
Read the three different upgrade options from a configuration setting. For now, just one set of 3 values for each currency. Later we might want to have different sets for different original recurring amounts.
Should read language, contact_id, checksum, and amount of currency units to add from querystring. Geolocate or accept country parameter from querystring to get country for currency formatting
Should query civiproxy for active contribution recur data (probably can share logic from email prefs forms)
Should store contribution_recur_id, associated contact_id (could be different from passed-in contact_id), original amount, and currency retrieved from civiproxy in session along with an edit token. The edit token should be rendered into a hidden field in the form.
For bonus points, store next_sched_contribution_date in session too