infoalloggi-monorepo/apps/infoalloggi/src/server/services
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
..
auth.service.ts Refactor: Remove unused procedures and clean up router files 2026-03-05 12:32:03 +01:00
banlist.service.ts eslint migration biome 2025-08-28 18:27:07 +02:00
banners.service.ts eslint migration biome 2025-08-28 18:27:07 +02:00
chat.service.ts feat: enhance error handling with custom messages for database operations 2026-03-05 10:29:08 +01:00
email.service.ts refactor: update email service functions and add delete all user emails functionality 2025-12-29 16:00:57 +01:00
fic.service.ts formatt 2025-08-29 16:18:32 +02:00
interests.service.ts eslint migration biome 2025-08-28 18:27:07 +02:00
mailer.ts refactor: remove ShareAnnunci email component and its related type from mailer 2026-03-17 18:42:25 +01:00
messages.service.ts eslint migration biome 2025-08-28 18:27:07 +02:00
ordini.service.ts feat: enhance payment preparation logic and add rinnovo handling 2026-03-17 18:46:43 +01:00
password.service.ts cleanup 2025-12-15 12:23:41 +01:00
potenziali.service.ts feat: implement Potenziali and PotenzialiGroups management with CRUD operations and UI enhancements 2025-12-03 13:56:53 +01:00
prezziario.service.ts feat: enhance payment preparation logic and add rinnovo handling 2026-03-17 18:46:43 +01:00
puppeteer.service.ts feat: add email sending functionality for receipt and conditions in AdminOrdiniModal 2026-03-10 13:16:32 +01:00
ratelimiter.ts eslint migration biome 2025-08-28 18:27:07 +02:00
rinnovi.service.ts feat: enhance payment preparation logic and add rinnovo handling 2026-03-17 18:46:43 +01:00
servizio.service.ts refactor: update TypeScript SDK path and improve error handling in servizio service 2026-03-12 16:27:24 +01:00
storage.service.ts refactor: remove console.log statements from various files for cleaner code 2026-02-24 15:18:59 +01:00
testi_stringhe.service.ts eslint migration biome 2025-08-28 18:27:07 +02:00
user.service.ts feat: enhance error handling with custom messages for database operations 2026-03-05 10:29:08 +01:00