Log in
Model

Config

Magento\PaymentServicesBase\Model\Config

What it does

This class manages configuration settings for Magento Payment Services Base module.

Developers use it to retrieve merchant IDs, check if payment services are properly configured and enabled, determine the environment type (sandbox/production), and validate Magento Services connector setup.

It's the central point for accessing payment service configuration across different store scopes.

Public Methods

  • getMerchantId()
  • getServicesEnvironmentId()
  • getEnvironmentType()
  • getEnvironmentTypeAcrossWebsites()
  • getMultiBusinessAccountScopingLevel()
  • isMagentoServicesConfigured()
  • isEnabled()
  • isConfigured()
  • getVersion()