function commerce_square_payment_method_default_settings in Commerce Square Connect 7
Returns the default settings for the Square payment method.
1 call to commerce_square_payment_method_default_settings()
- commerce_square_payment_method_settings_form in ./
commerce_square.module - Payment method form callback.
File
- ./
commerce_square.module, line 89 - Module file for Commerce Square.
Code
function commerce_square_payment_method_default_settings() {
return array(
'mode' => 'test',
'type' => COMMERCE_CREDIT_AUTH_CAPTURE,
'cardonfile' => FALSE,
'test_location_id' => '',
'live_location_id' => '',
);
}