SdkService
Magento\PaymentServicesPaypal\Model\SdkService
What it does
This service class manages the PayPal SDK parameters for Magento's Payment Services PayPal integration.
Developers use it to fetch SDK configuration from the payment service API, including currency, locale, and payment options, and to cache these parameters for performance optimization.
It's primarily used when rendering PayPal payment buttons and configuring the PayPal JavaScript SDK on the frontend.
Public Methods
- getSdkParams()
- loadFromSdkParamsCache()
- updateSdkParamsCache()