Log in
Model

GooglePayConfigProvider

Magento\PaymentServicesPaypal\Model\GooglePayConfigProvider

What it does

This class provides configuration data for Google Pay payment method in Magento 2's checkout process.

Developers use this to enable and configure Google Pay as a payment option, including SDK parameters, button styles, 3D Secure settings, and API endpoints.

It implements ConfigProviderInterface to inject payment method configuration into the frontend checkout.

Public Methods

  • getConfig()