Page MenuHomePhabricator

[WMDE-Fundraising] Add Donation
Closed, ResolvedPublic60 Story Points


Add entry to donation table and send confirmation email. Redirect to appropriate payment processor if needed.
Verify the request's integrity and check for irregularities (i. e. bad words, exceeding donation amount limit). Refuse insertion of data if integrity check fails, set status to pending on irregularities. Must handle locale/country-dependent data (eg. different number format with comma as decimal separator, different ZIP code lengths depending on country, etc).

POST request, application/x-www-form-urlencoded

Request Body: betrag_auswahl=5%2C00&betrag=&intervalType=0&zahlweise=BEZ&debit-type=non-sepa&iban=DE12500105170648489890

Request model parameters

  • betrag
  • zahlweise
  • periode
  • iban
  • bic
  • konto
  • blz
  • bankname
  • adresstyp
  • anrede
  • titel
  • firma
  • vorname
  • nachname
  • firma
  • strasse
  • plz
  • ort
  • country
  • email

The required field set depends on the address type:

  • anonymous: all address fields can be left out
  • firma: vorname and nachname can be left out
  • person: firma can be left out

Additional parameters for the endpoint (presentation-related):

  • tracking (set of piwik campaign and keyword (e. g. campaignName/bannerName)
  • source (host name of referring site)
  • impCount (total impressions before donating)
  • bImpCount (current banner's impressions before donating)
  • form
  • from_form: current form
  • layout
  • color
  • skin
  • back_form: Form before the current form

Event Timeline

Tobi_WMDE_SW raised the priority of this task from to Medium.
Tobi_WMDE_SW updated the task description. (Show Details)
Tobi_WMDE_SW added subscribers: Tobi_WMDE_SW, Aklapper.
Tobi_WMDE_SW updated the task description. (Show Details)Jan 7 2016, 10:51 AM
Tobi_WMDE_SW set Security to None.
Tobi_WMDE_SW edited a custom field.
kai.nissen moved this task from Backlog to Doing on the WMDE-Fundraising-Frontend-Release board.
gabriel-wmde edited a custom field.Feb 5 2016, 10:36 AM
gabriel-wmde edited a custom field.Feb 15 2016, 1:38 PM
JeroenDeDauw updated the task description. (Show Details)Feb 20 2016, 3:19 AM
JeroenDeDauw added a subscriber: kai.nissen.
This comment was removed by JeroenDeDauw.
JeroenDeDauw changed the point value for this task from 60 to 55.Mar 18 2016, 12:34 PM
JeroenDeDauw changed the point value for this task from 55 to 60.
Restricted Application added a project: WMDE-FUN-Team. · View Herald TranscriptApr 7 2017, 11:26 AM