Log in
Model

PaymentsEnableComment

Magento\PaymentServicesBase\Model\Config\Comment\PaymentsEnableComment

What it does

This class provides a dynamic comment text for the Payment Services enable/disable configuration field in Magento admin.

It generates a warning message with a link to the Payment Services dashboard, instructing administrators not to enable the payment method until PayPal onboarding is completed.

Developers use this when they need to display contextual help or warnings in system configuration fields.

Public Methods

  • getCommentText()