Commit graph

15 commits

Author SHA1 Message Date
23f3ceec21
Feat/stripe integration (#50)
Some checks are pending
CI / checks (push) Waiting to run
* feat(stripe): add Stripe payment sync and webhook support

Introduce Stripe integration for automatic payment ingestion and refund
tracking. Adds new fields to the payment model for Stripe IDs and
status,
Stripe client driver, sync service, cron job, manual API endpoint, and
public webhook handler for real-time updates. Includes tests and
documentation. Manual cash entry remains supported.

* chore(stripe): upgrade to stripe-go v83

Upgrade Stripe SDK from v79 to v83 across the codebase. Update all
imports to use github.com/stripe/stripe-go/v83 and refactor client usage
to match the new API, including changes to PaymentIntents listing.
Update documentation and plans to reference the new version. Remove
references to the old version from go.mod and go.sum.

* 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.

* chore(ci): add Go and templ setup to CI workflow

This update enhances the CI workflow by adding steps to set up Go using
the version specified in go.mod, add the Go bin directory to the PATH,
and install the templ code generation tool. These additions ensure that
Go-based tooling is available for subsequent CI steps.
2025-11-21 15:47:01 +01:00
a0b7672e9e
feat(payments): add Stripe dashboard links for card payments
Some checks are pending
CI / checks (push) Waiting to run
- Add `APP_STRIPE_ACCOUNT_ID` to config and README.
- Pass Stripe account ID to payment view models.
- Show "View in Stripe" badge linking to the payment in Stripe dashboard
  for card payments when account ID and payment ID are present.
- Update Makefile to run format/lint locally instead of in container.
- Update templates and generated code to support new dashboard link.
2025-11-16 18:04:35 +01:00
fc0daf6a14
chore(build,ci,docs): switch to Makefile, consolidate CI, add caching + AGENTS (#47) 2025-08-30 22:36:11 -04:00
150e8380e6
feat: Add justfile to replace Makefile with Just task runner 2024-12-08 12:08:54 +01:00
5d826c21da
RE18 translation (#22)
* translate the item for display in the invoice

* add documentation to the makefile
2024-11-14 22:35:35 +01:00
e37228ba31
improve dev dockerfile 2024-08-19 13:59:41 +02:00
6eb7e272a4
use docker dev env 2024-08-09 15:33:33 +02:00
efc8c90d63
add dockerfile 2024-07-14 23:47:23 +02:00
cd61bdf2f1
add CI 2024-07-14 23:39:31 +02:00
b25d7be29d
basic task scheduler 2024-06-30 12:49:26 +02:00
37cadd8b20
add customer number seed 2024-02-22 22:08:46 +01:00
a971aab58c
view model 2024-02-09 23:04:02 +01:00
8968198045
add navigation items 2024-02-09 11:07:36 +01:00
80d7ff5d84
add line items 2024-02-05 21:53:24 +01:00
a1b7c5921b
initial project structure 2024-02-04 12:48:43 +01:00