Log in
Model

PaypalMerchantResolver

Magento\PaymentServicesPaypal\Model\PaypalMerchantResolver

What it does

This class resolves which PayPal merchant account configuration should be used based on the current scope (global, website, or store view) and the Multi-Business Account (MBA) scoping level settings.

Developers use it to retrieve the appropriate PayPal merchant credentials when processing payments, ensuring the correct account is used depending on whether the store is configured with separate PayPal accounts per website or store view.

Public Methods

  • getPayPalMerchant()