Log in
Model

QuoteRetriever

Magento\PaymentServicesPaypal\Model\ShippingCallback\QuoteRetriever

What it does

This class retrieves a shopping cart/quote object using a masked (public) cart ID, which is typically used in guest checkout or API scenarios where the actual quote ID should remain hidden.

Developers use this when they need to access a quote securely during PayPal shipping callbacks without exposing the internal quote ID.

It validates that the cart exists and contains items before returning it.

Public Methods

  • getQuoteByMaskedId()