You are here

function commerce_square_default_settings in Commerce Square Connect 7

Returns the default settings for the Square module.

5 calls to commerce_square_default_settings()
commerce_square_payment_method_settings_form in ./commerce_square.module
Payment method form callback.
commerce_square_payment_method_submit_form in ./commerce_square.module
Square payment checkout pane form callback.
commerce_square_renew_access_token in ./commerce_square.module
Renew access token.
commerce_square_settings_form in includes/commerce_square.admin.inc
Square settings form.
SquareApi::createFromInstanceId in includes/SquareApi.php
Create a class instance from a payment method instance.

File

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

Code

function commerce_square_default_settings() {
  return array(
    'app_name' => '',
    'app_secret' => '',
    'test_app_id' => '',
    'test_access_token' => '',
    'live_app_id' => '',
    'live_access_token' => '',
    'live_access_token_expiry' => '',
    'live_access_refresh_token' => '',
  );
}