You are here

function _commerce_square_get_supported_modes in Commerce Square Connect 7

Returns the payment method modes.

1 call to _commerce_square_get_supported_modes()
commerce_square_payment_method_settings_form in ./commerce_square.module
Payment method form callback.

File

./commerce_square.module, line 173
Module file for Commerce Square.

Code

function _commerce_square_get_supported_modes() {
  return array(
    'test' => t('Sandbox'),
    'live' => t('Production'),
  );
}