Skip to content

Checkout Page #7

@ligiabicalho

Description

@ligiabicalho

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

  • Confirm if a page title is necessary and implement accordingly.
  • Implement address lookup by zip code/CEP for delivery address input to improve consistency.
  • Add back button on Pix payment page for better navigation.
  • Develop Order Tracking Page to allow users to monitor their orders after payment.
  • Define and implement behavior for expired Pix payments (e.g., timeout, cancellation, retry).
  • Validate and test Crypto (Metamask) payment flow thoroughly.
  • Ensure all payment methods handle errors gracefully and provide clear user feedback.
  • Mobile responsiveness and accessibility checks.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions