Currently, the routes `donation/new` and `donation/add` use different parameter names for the amount, some of the names are in German. This has led to confusion and extra code during banner development.
To make the interface consistent, the amount should get a new parameter called `amount` in both routes. New banners must use the new parameter. If the banner markup has different form field names for selected and "input" amount, the banner code must deal with unifying the amount into one parameter.
Backwards compatibility:
To avoid breaking currently running banners, we keep the fields `betrag_auswahl` and `amountGiven` for route `donation/new` and `betrag` for route `donation/add` as fallbacks until the 2020 campaign.
To be discussed: Log a "notice" when old parameters are used?AC:
* amount can be provided by `amount` parameter
* Also add English parameters `paymentType` (=`zahlweise`), and `interval` (=`periode`)
* current parameters can still be used but are marked as deprecated.
Note:
New banners must use the new parameter. If the banner markup has different form field names for selected and "input" amount, the banner code must deal with unifying the amount into one parameter.
To be discussed:
* Log a "notice" when old parameters are used?