Commit Graph

22 Commits

Author SHA1 Message Date
1bd2b105ae Refactor imports in payment router
- Move local imports of user_create and user_delete to top level
- Clean up function bodies
2026-02-01 12:36:58 -05:00
51b1d86227 Fix undefined variable error in payment_service.py
- Alias 'authorizenet.constants' to 'auth_net_constants' to avoid conflict/confusion with 'constants' variable
2026-02-01 12:35:15 -05:00
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
449eb74279 Updated claude big changes 2026-01-29 08:43:35 -05:00
1832c8ab62 major claude changes 2026-01-28 21:54:54 -05:00
be3d93261c Working site 2026-01-05 08:43:54 -05:00
034beee614 Updated for local 2025-11-04 19:34:46 -05:00
f0096add0a small fixes working great 2025-10-06 21:14:18 -04:00
23a11a7009 cleaned up code 2025-10-06 20:01:12 -04:00
940be20852 Fixed e00007 error 2025-09-28 10:17:35 -04:00
5b4a05566a config issues prod 2025-09-27 14:25:28 -04:00
a629168299 working auto 2025-09-27 00:13:31 -04:00
4f24570d3c working auto 2025-09-26 20:30:42 -04:00
569e76f21e Updated config 2025-09-19 19:20:32 -04:00
8a6da448bb fixed error code 2025-09-19 19:08:00 -04:00
2ad9ed304e Working payment accopunts 2025-09-19 17:27:20 -04:00
4bdfb4238d Good progession 2025-09-18 13:01:58 -04:00
630584512e Working flow authorize 2025-09-16 12:45:22 -04:00
47e3fb443b Adding authnet not tested 2025-09-15 15:30:30 -04:00
5a6bcc0700 Updated auth api for customer profile 2025-09-14 11:59:31 -04:00
8d134f691b Updated charge close to working 2025-09-09 18:28:41 -04:00
8c37b6aeab Add all project files 2025-09-08 14:30:40 -04:00