Model
PaymentsSDKConfigProvider
Magento\PaymentServicesPaypal\Model\PaymentsSDKConfigProvider
What it does
This class provides configuration parameters needed to initialize the PayPal Payments JavaScript SDK on the frontend.
Developers use this to get the SDK URL, authentication tokens, GraphQL endpoint, and store information that the client-side SDK requires to communicate with Magento's backend and process PayPal payments.
Public Methods
- getPaymentsSDKParams()