Log in
Model

PaymentInformationManagement

Magento\Checkout\Model\PaymentInformationManagement

What it does

This class manages the payment information saving and order placement process during checkout in Magento 2.

Developers use this service when they need to programmatically save payment details, set billing addresses, and place orders, particularly when customizing the checkout flow or integrating with payment gateways.

It handles rate limiting, address validation, and coordinates between payment methods, billing addresses, and the final order placement.

Public Methods

  • savePaymentInformationAndPlaceOrder()
  • savePaymentInformation()
  • getPaymentInformation()