Skip to content

Magento_Checkout

Multi-step checkout process, shipping and payment information management, session handling, and order placement workflows.

132 Components 20 Interfaces 104 JS Components

Module Overview

The Magento_Checkout module orchestrates the entire checkout process, from cart to order placement. It manages the multi-step checkout flow, shipping address collection, shipping method selection, payment information handling, and the final order creation. This module is heavily JavaScript-driven, using Knockout.js components for the frontend checkout experience.

132
PHP Components
20
Service Contracts
104
JS Components
12
REST Endpoints

Component Breakdown

Backend PHP

  • Models40
  • Blocks36
  • Controllers25
  • API Interfaces20

Support Classes

  • CustomerData7
  • Helpers3
  • Observers3
  • ViewModels1

Frontend

  • JavaScript Files104
  • Layout XML16
  • Plugins1

Documentation

Key Features

Multi-Step Checkout

Configurable checkout steps with shipping address, shipping method, payment information, and order review.

Guest Checkout

Full checkout capability for guest customers without account creation requirement.

Session Management

Quote session handling with automatic cleanup and persistence across page loads.

REST API Support

12 REST endpoints for headless checkout implementations and PWA integrations.

Agreements Validation

Terms and conditions acceptance with configurable agreement types and validation.

Rate Limiting

Built-in CAPTCHA-based rate limiting for payment processing to prevent abuse.

Module Dependencies

The Checkout module depends on these core modules (defined in module.xml sequence):

Magento_Sales

Order creation, invoicing, and sales entity management

Magento_Quote

Shopping cart and quote management, totals calculation

Magento_CatalogInventory

Stock validation during checkout process

Quick Reference

Key Service Contracts

  • PaymentInformationManagementInterface
  • GuestPaymentInformationManagementInterface
  • ShippingInformationManagementInterface
  • GuestShippingInformationManagementInterface
  • TotalsInformationManagementInterface
  • AgreementsValidatorInterface

Key REST Endpoints

  • POST /V1/carts/mine/payment-information
  • POST /V1/guest-carts/:cartId/payment-information
  • POST /V1/carts/mine/shipping-information
  • POST /V1/guest-carts/:cartId/shipping-information
  • GET /V1/carts/mine/payment-information