Commit graph

14 commits

Author SHA1 Message Date
146787033a
refactor(payment): extract payment logic to new service
Moves all payment-related logic (manual payments, Stripe sync, webhook
handling) from the booking service into a dedicated payment service
(`internal/service/payment`). Updates server, cron, and handler wiring
to
inject and use the new payment service. Adjusts tests, routes, and
documentation to reflect the new separation of concerns.

This improves cohesion, clarifies responsibilities, and prepares for
future payment features. No database schema changes are introduced.
2025-11-21 10:09:30 +01:00
4bd47dc6e9
feat(deps): migrate from Echo to Chi, update Stripe/Sentry (#49)
Some checks failed
CI / checks (push) Has been cancelled
2025-11-02 21:45:37 +01:00
aa9f46a222
feat/stripe integration (#48) 2025-10-19 15:48:59 +02:00
40d2338c0f
feat(logging): add slog-based structured logging
Introduce slog-based structured logging throughout the booking service
and
server handlers. Add configurable log level via LOG_LEVEL environment
variable. Replace legacy log usage with slog and propagate logger to
booking service for improved observability.
2025-09-12 12:17:22 -04:00
3f57232a9d
move cron code to pkg 2025-03-23 23:00:02 +01:00
75eb3b8502
use COnfig struct to parse env variables 2025-03-23 22:57:22 +01:00
9a6b6ef0c3
fix cronjob (#45)
fixes #32
2025-02-23 22:38:32 +01:00
d07dc199b7
clean the cron job 2024-12-07 12:49:05 +01:00
9c6e5ff76e
cleanup 2024-09-13 18:55:35 +02:00
78ca637807
call calendar driver from the booking service 2024-09-11 09:38:22 +02:00
d4e6b35a96
Create taxes for taxable items automatically (#16)
* refactor return error when building booking service

* fix the description

* set taxable item by amount

* auto create tax items if the item is taxable

* fix linter

* remove legacy tax entry

* display multiple items

* use the price from the form

* improve item sorting

* lintfix
2024-08-26 21:44:31 +02:00
99e95e54c0
linter 2024-07-18 13:09:33 +02:00
aff18b2b12
split view models 2024-07-15 16:59:23 +02:00
b25d7be29d
basic task scheduler 2024-06-30 12:49:26 +02:00