Pay to activate a module
Design Figma →
As a Registered user I can pay to activate an extra module to better meet the need of my event.
- The module is activated only for the event.
- I must be the creator of the event to be able to activate a module
- The invoice contains the name of the event and date of the event in it.
- The amount is in euro
- It is explained why it is a paid module and how the amount is used
- Caroster is open source, but necessitates skilled work to run and evolve, the charged amount provide ressource to the project in order to pay its operation charges and future development.
- Go on caroster.io/finance to learn more.
- Caroster is open source, but necessitates skilled work to run and evolve, the charged amount provide ressource to the project in order to pay its operation charges and future development.
Validation
- See module list
- Clic to activate the module
- I’m redirected to stripe to make the payment
- Stripe is in the same language as I was in Caroster
- I do the payment
- I’m redirected to the module page
- I see my paid module activated
- I received payment confirmation an the invoice in my mail box.
Tasks
-
Create “Settings” page in event space -
Set a GQL request to Strapi to fetch available modules with their info -
Show available modules in Settings page (with price, name, description…) -
Admins cannot pay for modules, only creator can. They see the page but everything is disabled.
-
-
Create a Stripe account -
In Strapi, store when a module is activated and when a module is paid separately -
Configure link with Stripe to pay for a module -
Check if module has never been paid yet. If already paid, enable it directly
-
-
Handle i18n for Stripe parts -
Listen for webhooks from Stripe with Strapi to set module as paid and enabled for an event on payment success -
Document mechanics with Stripe
Notion: https://www.notion.so/Pay-to-activate-a-module-5f36862390844a79a3826b0d154b7a4c
Points: 13
Edited by Xavier von Aarburg