orbiting / republik-frontend

[DEPRECATED] moved to https://github.com/republik/plattform The front end of the online magazine Republik.
https://republik.ch
BSD 3-Clause "New" or "Revised" License
70 stars 13 forks source link

Payment / PledgeOption-Selector #700

Closed ovbm closed 2 years ago

ovbm commented 2 years ago

navigate to http://localhost:3010/checkout to see different option configurations:

Screenshot 2021-12-10 at 12 51 39

The relevant component is MembershipSelector.tsx. It receives a membershipOptions object-array and renders a button for each option. It doesn't handle Gift memberships (which probably should be displayed similarly to goodies instead of price selection).

@tpreusse

Open questions also with PROLONG: If someone has payed 360CHF, we should probably show this:

Screenshot 2021-12-10 at 12 57 59

But what if a person has payed 250CHF or 378CHF? What do we show? We shouldn't just show "Eigener Preis (360CHF)" & "Regulär 240CHF" as this would be a down-sell. An option would be to Show just "Eigener Preis (360)CHF" without Regular. Or like this:

Screenshot 2021-12-10 at 13 09 32
ovbm commented 2 years ago

Current Problems.

/angebote?package=PROLONG

package=ABO&userPrice=1

/angebote?package=ABO_GIVE adn MONTHLY_GIVE

ovbm commented 2 years ago

moved to: https://github.com/republik/plattform/pull/10