Commit Graph

5 Commits

Author SHA1 Message Date
97261f6c51 Refactor payment service, fix DB session, and consolidate endpoints
- Fix critical NameError in database.py by restoring Session factory
- Refactor payment_service.py and crud.py to use shared constants.py and utils.py
- Deduplicate state mapping and input sanitization logic
- Move transaction amount calculation logic from CRUD to Router layer
- Enforce type safety in schemas using IntEnum for TransactionType/Status
- Move capture endpoint from transaction.py to payment.py (now /payments/capture)
- Update create_customer_profile signature for clarity
2026-02-01 12:31:42 -05:00
1832c8ab62 major claude changes 2026-01-28 21:54:54 -05:00
940be20852 Fixed e00007 error 2025-09-28 10:17:35 -04:00
569e76f21e Updated config 2025-09-19 19:20:32 -04:00
8c37b6aeab Add all project files 2025-09-08 14:30:40 -04:00