You are here

function commerce_payment_ui_help in Commerce Core 7

Implements hook_help().

File

modules/payment/commerce_payment_ui.module, line 115
Default Payment UI for Drupal Commerce.

Code

function commerce_payment_ui_help($path, $arg) {
  switch ($path) {
    case 'admin/commerce/config/payment-methods':
      return t("Payment methods are enabled for use by the rule configurations listed below. An enabled payment rule can specify a payment method to enable using one of the available <em>Enable payment method</em> actions. The action's settings form will contain any necessary settings for the payment method that must be configured before it may be used.");
    case 'admin/commerce/config/payment-methods/add':
      return t("Submitting this form will create a new rule configuration that enables the selected payment method. You will need to edit the action on the rule to configure the payment method settings. You can also add any conditions that must be met for the payment method to be available on the checkout form, such as a comparison against the customer's country or the order total.");
  }
}