-
Notifications
You must be signed in to change notification settings - Fork 0
Development #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Development #32
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… API client - Added migrations for creating checkouts and checkout_items tables. - Implemented rollback migrations for disabling cart tables and archiving data. - Created an email template for checkout recovery to encourage users to complete their purchases. - Developed a mock checkout repository for testing purposes. - Added a comprehensive API client for managing guest and user checkouts, including methods for creating, updating, and retrieving checkout data. - Defined TypeScript interfaces for checkout-related data structures and requests.
…sing slices package
- Updated CheckoutUseCase to include PaymentTransactionRepository and PaymentService. - Modified MockPaymentService to remove PayPal and Bank Transfer methods. - Removed deprecated CartRedirectHandler and updated routes to use CheckoutHandler. - Enhanced CheckoutHandler to manage session IDs for guest users and streamline checkout processes. - Updated API routes to reflect new checkout structure and removed deprecated endpoints. - Improved documentation to highlight the new session-based checkout system.
…es; add migration for checkouts table with session_id column; delete outdated Postman collection
…elated API endpoint
…adjust client methods - Removed CartDTO and related structures, replacing them with CheckoutDTO and associated types. - Updated API client methods to reflect the transition from cart to checkout, including renaming and restructuring requests. - Removed deprecated cart endpoints and adjusted server routes accordingly. - Updated README and documentation to reflect the new checkout system and its usage. - Cleaned up session management by removing unused session cookie constants. - Deleted test database utility and pagination utility as they are no longer needed.
…equests and responses
…ew DTOs - Updated CheckoutDTO to use ShippingMethodDetailDTO instead of ShippingMethodDTO. - Introduced new ShippingMethodDetailDTO and related DTOs for shipping methods, zones, rates, and options. - Refactored shipping handler methods to utilize new DTOs for request and response handling. - Added conversion functions for new DTOs to streamline data transformation between domain entities and API responses.
…Os for requests and responses
- Implement tests for shipping method, zone, rate, and option DTOs to ensure correct conversion and functionality. - Add tests for creating and updating shipping methods and zones. - Include tests for weight-based and value-based rates. - Introduce tests for user DTOs, including creation, updates, and login requests. - Validate responses for user lists and password changes.
…related conversion logic
New checkout flow
Development refactoring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.