Skip to content

Conversation

@snorrekr
Copy link
Contributor

Improve billig documentation in accordance with stripe.

Copy link
Contributor

@Snorre98 Snorre98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

se kommentarer

- Ticket type (member-card/email)
- membercard or email

The current implemenation is found [here](https://github.com/Samfundet/Samfundet/blob/master/app/views/events/buy.html.haml)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +27 to +30
The request contains:
- Ticket group and amount (for example: member/not member)
- Ticket type (member-card/email)
- membercard or email
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan du vise selve datastrukturen, hvis det er relevant

The current implemenation is found [here](https://github.com/Samfundet/Samfundet/blob/master/app/views/events/buy.html.haml)


Additionally, samfundet.no also handles showing the ticket after a successful purchase. Stripe reroutes to https://www.samfundet.no/arrangement/purchase_callback/:tickets where it gets the different ticket IDs and retrieves them from the database. The frontend allows the PDF to be downloaded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flowchart diagram for Stripe flyten hadde vært nice

@snorrekr snorrekr self-assigned this Apr 3, 2025
Copy link
Contributor

@Snorre98 Snorre98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snorrekr dette mangler dokumentasjon på hvordan Billig event informasjon hentes i skjema for å lage event

@Erichseen Erichseen added the documentation Improvements or additions to documentation. label Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants