Files
terminalShop-old/pkg
marcus06 bce94b6d10 feat(refund): add refund request flow (#10)
* feat(refund): add refund request flow

- tui modal composer with reason select + free-form message
  (pkg/tui/refund.go)
- POST /api/v1/orders/{id}/refund-request posts to orders slack thread
- 15 min server side cooldown via Order.LastRefundRequestAt (429 +
  retry-after)
- shared refundrequestreasons + can requestrefund hoisted to pkg/models
- slack message includes customer name, email, order total, quoted body
- tests over invalid-state, missing-message, and cooldown paths

* style(tui): run gofmt to fix formatting
2026-05-25 22:04:03 +02:00
..
2026-05-23 21:43:30 +02:00
2026-05-23 21:43:30 +02:00
2026-05-23 21:43:30 +02:00
2026-05-23 21:43:30 +02:00
2026-05-02 16:29:07 +02:00
2026-05-23 21:43:30 +02:00
2026-05-23 21:43:30 +02:00