infoalloggi-monorepo/apps/infoalloggi/src/server/api
Marco Pedone 1307f352a4 feat: enhance payment preparation logic and add rinnovo handling
- Refactor `preparePayment` function to handle multiple order types including Rinnovo.
- Introduce new `RinnovoSolver` function to calculate renewal packs based on duration.
- Add `createRinnovo` service to manage the creation of renewal orders.
- Update `whIntentSucceededHandler` to handle payment confirmations for Rinnovo and other order types.
- Introduce default conditions for packs in `prezziario.service.ts`.
- Add new utility functions for managing renewal durations and permanenza.
- Update database interactions to ensure proper handling of orders and renewals.
- Enhance error handling and logging throughout the payment and renewal processes.
2026-03-17 18:46:43 +01:00
..
routers feat: enhance payment preparation logic and add rinnovo handling 2026-03-17 18:46:43 +01:00
root.ts Refactor: Remove unused procedures and clean up router files 2026-03-05 12:32:03 +01:00
trpc.ts feat: add API authentication context to TRPC and refactor Stripe webhook handler 2026-03-05 11:54:04 +01:00