Overview
This issue covers the implementation status and pending tasks for the Checkout page, focusing on delivery address selection and payment methods.
What's Implemented (or Partial)
Delivery Address:
Ability to add a new address and/or select from saved addresses.
Payment Method:
Pix:
Payment page implemented and integrated (mocked success payment currently).
Needs a back button similar to other pages.
After payment, redirects to UserMenu /Profile, but order tracking page not yet created.
Credit Card:
Integration not yet implemented.
Crypto:
Metamask integration implemented; needs validation to confirm expected functionality.
What Needs Implementation
Backend - Checkout Service
Manage the checkout flow: address selection, shipping options, payment method, and order confirmation.
Validate basket contents (stock, prices, restrictions) before order placement.
Integrate with payment gateways (Pix, credit card, crypto).
Handle order creation: generate order records, deduct inventory, and trigger post-order workflows (confirmation emails, notifications, analytics).
Support for order tracking and status updates.
Store, validate, and retrieve user addresses.
Additional Recommendations
Consider adding Order Summary Review before payment confirmation.
Alongside the order summary review, display the estimated delivery time based on the selected delivery address.
Include terms and conditions or privacy policy acceptance checkbox if required.
Implement security measures for payment data handling and user privacy.
Overview
This issue covers the implementation status and pending tasks for the Checkout page, focusing on delivery address selection and payment methods.
What's Implemented (or Partial)
/Profile, but order tracking page not yet created.What Needs Implementation
Backend - Checkout Service
Additional Recommendations