ncoronel
172e14ae9b
Squashed commit of the following:
...
commit 1dc4e29c69
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 13:58:03 2026 -0300
refactor(reservations): unify expiration command
commit 093e894cc3
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 13:48:09 2026 -0300
feat(cart): expire abandoned stock reservations
commit fdf0f3328f
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 12:53:12 2026 -0300
refactor(stock): implement expiration for stock reservations and add configuration
commit 8d6bcdcc43
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 12:38:21 2026 -0300
refactor(cart): invalidate payment on actual changes
commit 3206e293eb
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 12:24:48 2026 -0300
refactor(cart): own checkout item editing
commit aed99bd05e
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 12:14:57 2026 -0300
refactor(checkout): remove legacy purchase item reservations
commit f1649e0e4b
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 12:06:29 2026 -0300
refactor(checkout): materialize purchase items on confirmation
commit e6c4b40a37
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 19 12:06:19 2026 -0300
feat(inventory): add traceable cart stock reservations
2026-08-19 13:59:38 -03:00
ncoronel
5b089e71b2
feat(purchase): update direct item handling to support multiple items in checkout
2026-08-12 14:29:10 -03:00
ncoronel
8b26a2b63e
feat(purchase): add checkout expiration settings and reservation status to purchase items
...
- Introduced a new configuration file for purchase settings, including checkout and payment expiration times.
- Added a migration to include a `reservation_status` column in the `compra_items` table, defaulting to 'active' and updating existing records based on purchase status.
- Created a migration to add an `expires_at` timestamp to the `compras` table, updating it for existing records based on their status.
- Scoped unique indexes in the `carritos` table to only active carts, adding virtual columns for active user and guest tokens.
- Implemented a console command to expire overdue purchases and release stock reservations, scheduled to run every minute.
- Added tests for Google token exchange and login functionality, ensuring proper cart handling and user authentication.
- Updated purchase-related tests to reflect changes in item handling and customer data validation.
2026-07-27 12:49:27 -03:00
ncoronel
b3d06431e5
feat: rename payer_dni to transfer_payer_dni across purchase handling and update related tests
2026-07-16 11:45:34 -03:00
nahu
ca7a2ae55c
feat: add payer_dni field and validation for transfer payments, update related logic and tests
2026-07-12 19:48:56 +00:00
ncoronel
c276ccd311
feat: refactor purchase status handling and add finalize endpoint for purchases
2026-07-07 15:33:29 -03:00
ncoronel
dc32eb9bee
feat: enhance checkout process with cart integration and stock confirmation
2026-07-06 14:06:25 -03:00
ncoronel
6bda3bf013
feat: add payment intent handling in PurchaseController with validation and QR generation
2026-07-06 11:47:04 -03:00
ncoronel
0c28302f84
refactor: remove unused 'payment_status' field from StorePurchaseRequest rules
2026-07-06 08:35:52 -03:00
ncoronel
057e6757dc
feat: add customer details fields to Purchase model and request, implement checkout process with cart clearing
2026-07-03 16:48:31 -03:00
ncoronel
1d94ff8885
feat: implement checkout service and payment processing integration
2026-07-03 15:37:26 -03:00
ncoronel
6c45f45815
feat(purchase): implement PurchaseController with CRUD operations and request validation
2026-06-25 10:58:55 -03:00