Log in
Model

Checkout

Magento\Paypal\Model\Express\Checkout

What it does

This class manages the complete PayPal Express Checkout workflow in Magento 2.

Developers use it to initiate PayPal Express checkout, handle customer returns from PayPal, update shipping methods, and place orders.

It coordinates between the quote, payment API, billing agreements, and order placement while managing address validation and shipping options.

Public Methods

  • getCheckoutShortcutImageUrl()
  • prepareGiropayUrls()
  • setIsBillingAgreementRequested()
  • setIsBml()
  • setCustomerData()
  • setCustomerWithAddressChange()
  • start()
  • canSkipOrderReviewStep()
  • returnFromPaypal()
  • prepareOrderReview()
  • getShippingOptionsCallbackResponse()
  • updateShippingMethod()
  • place()
  • getRedirectUrl()
  • getBillingAgreement()
  • getOrder()
  • getCheckoutMethod()
  • getCustomerSession()