Model
SmartButtonsConfigProvider
Magento\PaymentServicesPaypal\Model\SmartButtonsConfigProvider
What it does
This class provides configuration data for PayPal Smart Buttons displayed on the Magento checkout page.
Developers use this class to configure button visibility, styling, payment options (like PayPal Credit, Venmo, Apple Pay), and SDK parameters needed to render PayPal payment buttons during checkout.
Public Methods
- getConfig()