Log in
Model

ApplePayConfigProvider

Magento\PaymentServicesPaypal\Model\ApplePayConfigProvider

What it does

This class provides Apple Pay payment configuration for Magento 2's checkout page.

It implements ConfigProviderInterface to supply frontend JavaScript with necessary settings like visibility, SDK parameters, button styles, and payment URLs.

Developers would extend or modify this when customizing Apple Pay integration or adding new Apple Pay payment locations.

Public Methods

  • getConfig()