Log in
Model

PaymentConfigManagement

Magento\PaymentServicesPaypal\Model\Api\PaymentConfigManagement

What it does

This class manages payment configuration for various PayPal payment methods (Smart Buttons, Apple Pay, Google Pay, Hosted Fields, and Fastlane) based on location (checkout, product page, cart, etc.).

Developers use this class to retrieve payment method configurations, button styles, SDK parameters, and visibility settings for different store locations, which is essential for rendering payment buttons and forms on the frontend.

Public Methods

  • getConfig()
  • getConfigItem()