Commit graph

11 commits

Author SHA1 Message Date
d1c0d16b00
chore(deps): bump Stripe Go SDK to v83.0.1
Update Stripe Go SDK from v83.0.0 to v83.0.1 for latest bug fixes and
improvements. Also update Go version in go.mod to 1.25.3 for
compatibility.
2025-10-20 17:49:14 +02:00
241e33af1d
feat(stripe): upgrade to stripe-go v83 and update usage
Upgraded the Stripe SDK from v78 to v83 in go.mod and go.sum, and
updated
all code references to match the new API. Refactored session creation to
use the new method signatures and types. Adjusted tests and
documentation
to reflect the updated dependency and API usage.
2025-10-05 10:39:12 +02:00
bf721dc130
feat(web): add logging middleware and refactor handlers
Introduced LoggerMiddleware for HTTP request logging. Refactored handler
methods to return http.HandlerFunc for improved composability. Updated
route registration and tests to use new handler signatures.
2025-09-28 19:43:30 +02:00
d112a4f6e8
fix(frontend): improve form selectors and markup
Refactor JavaScript to use querySelector for robustness. Update HTML
form to use POST method and correct script loading. Fix message div
syntax for better accessibility and compatibility.
2025-09-28 14:16:53 +02:00
aaf1289f6b
feat(dev): add Air config and Makefile dev target
Add .air.toml for live reload development with Air. Update Makefile to
include a 'dev' target that starts Air with custom cache directories.
Improve .gitignore to exclude 'tmp' directory used by Air.

Refactor frontend JS to use querySelector for robustness. Update HTML
template to fix form method, script loading, and message div syntax.
c
2025-09-28 14:16:18 +02:00
9814dc5e30
feat(web): extract static assets and routes for clarity
Refactored web server to move route registration into a dedicated method
and extracted static CSS into its own file for better maintainability.
Updated HTML template to use external stylesheet and improved JS code
style consistency. This enhances separation of concerns and prepares
for easier future asset management.
2025-09-27 23:01:04 +02:00
f0a6b128a0
feat: add checkout ui and driver-based payments 2025-09-27 18:43:41 +02:00
4e36eb9692
refactor: simplify checkout handler 2025-09-27 11:43:57 +02:00
7e1e6e1df9
feat(stripe): add Stripe Checkout session API and tests
- Integrate Stripe Go SDK and implement a checkout service for creating
  Stripe Checkout sessions for a demo product.
- Add request/response types for checkout sessions.
- Create HTTP handler for /api/checkout to initiate sessions via POST.
- Provide comprehensive unit tests for Stripe client and web handler.
- Wire Stripe-backed endpoint in server setup.
2025-09-27 11:32:34 +02:00
17db8bb165
feat: scaffold payit skeleton 2025-09-27 11:08:08 +02:00
810a49aa4e
chore: init repo 2025-09-27 01:47:19 +02:00