Log in
Model

CheapestMethodDeferredChooser

Magento\PaymentServicesPaypal\Model\InstantPurchase\CheapestMethodDeferredChooser

What it does

This class selects the cheapest available shipping method for instant purchase orders placed through Payment Services PayPal, excluding in-store pickup options.

It reuses previously collected shipping rates when available to optimize performance, and falls back to the standard cheapest method chooser for non-Payment Services orders.

Public Methods

  • choose()