Model
PaymentSdkManagement
Magento\PaymentServicesPaypal\Model\Api\PaymentSdkManagement
What it does
This class manages PayPal SDK parameters for various payment methods (Smart Buttons, Apple Pay, Google Pay, Hosted Fields, Fastlane) across different locations in Magento 2 (product page, cart, checkout, etc.).
Developers use this to retrieve the correct SDK configuration parameters based on the payment method and page location, with built-in caching for performance optimization.
Public Methods
- getParams()