Model
Config
Magento\PaymentServicesPaypal\Model\Config
What it does
This class manages all configuration settings for PayPal payment methods in Magento 2, including Smart Buttons, Hosted Fields, Apple Pay, Google Pay, and Fastlane.
Developers use it to check if payment methods are enabled, retrieve styling configurations, get merchant IDs, determine payment intents, and access various payment-related settings across different store locations (cart, checkout, product pages, etc.).
Public Methods
- getDomainAssociation()
- getSoftDescriptor()
- getThreeDS()
- getGooglePayThreeDS()
- getMerchantId()
- isEnabled()
- isLocationEnabled()
- isApplePayLocationEnabled()
- isGooglePayLocationEnabled()
- isHostedFieldsEnabled()
- isFastlaneEnabled()
- getPaymentIntent()
- getPaymentTitle()
- getSortOrder()
- canDisplayPayLaterMessage()
- getPayLaterStyling()
- isVaultEnabled()
- isAdminVaultEnabled()
- isFundingSourceEnabledByName()
- getButtonConfiguration()
- getViewFileUrl()
- isSignifydEnabled()
- getGooglePayStyles()
- isFastlaneMessagingEnabled()
- getFastlaneStyles()
- getGooglePayMode()
- isAsyncPaymentStatusUpdatesEnabled()
- isL2L3SendDataEnabled()
- getPaymentsSDKUrl()
- isCheckoutLocation()