Log in
Model

HostedFieldsConfigProvider

Magento\PaymentServicesPaypal\Model\HostedFieldsConfigProvider

What it does

This class provides frontend configuration for PayPal's Hosted Fields payment method in Magento 2 checkout.

Developers use it to supply JavaScript components with necessary data like SDK parameters, payment URLs, 3D Secure settings, vault options, and credit card icons.

It determines whether the payment method should be visible and configures features like Signifyd fraud protection integration.

Public Methods

  • getConfig()