- 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. |
||
|---|---|---|
| .. | ||
| .vscode | ||
| biome_plugins | ||
| emails | ||
| public | ||
| src | ||
| .dockerignore | ||
| .kanelrc.js | ||
| biome.json | ||
| components.json | ||
| dev-docker-compose.yml | ||
| dev_utils_compose.sh | ||
| Dockerfile | ||
| knip.json | ||
| next.config.ts | ||
| NOTES.md | ||
| package-lock.json | ||
| package.json | ||
| pgadmin-docker-compose.yml | ||
| postcss.config.cjs | ||
| reset.d.ts | ||
| TODO | ||
| tsconfig.json | ||
| TypeHelpers.type.ts | ||
| vitest.config.mts | ||