Exemplo n.º 1
0
 public static function getDetails()
 {
     $common_details = parent::getDetails();
     $specific_details = array(array('id' => '2co_account_id', 'caption' => '2Checkout vendor ID', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'secret_word', 'caption' => '2Checkout secret word', 'type' => 'string', 'length' => '20', 'is_required' => false, 'is_system' => false), array('id' => '2co_api_user_login', 'caption' => '2Checkout API user login', 'type' => 'string', 'length' => '20', 'is_required' => false, 'is_system' => false), array('id' => '2co_api_user_password', 'caption' => '2Checkout API user password', 'type' => 'string', 'length' => '20', 'is_required' => false, 'is_system' => false), array('id' => 'sandbox', 'caption' => '2CO Sandbox <br /> <span class=\'note\'>check to enable 2CO Sandbox</span>', 'type' => 'boolean', 'length' => '20', 'is_required' => false, 'is_system' => false));
     return array_merge($common_details, $specific_details);
 }
Exemplo n.º 2
0
 public static function getDetails()
 {
     $common_details = parent::getDetails();
     $specific_details = array(array('id' => 'authnet_api_login_id', 'caption' => 'API Login ID', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'authnet_api_transaction_key', 'caption' => 'Transaction Key', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'authnet_api_md5_hash_value', 'caption' => 'MD5-Hash', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'currency_code', 'caption' => 'Currency Code', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'authnet_use_test_account', 'caption' => 'Authorize.Net test account <br /> <span class=\'note\'>check to enable test account</span>', 'type' => 'boolean', 'length' => '20', 'is_required' => false, 'is_system' => false));
     return array_merge($common_details, $specific_details);
 }
Exemplo n.º 3
0
 public static function getDetails()
 {
     $common_details = parent::getDetails();
     $specific_details = array(array('id' => 'paypal_account_email', 'caption' => 'PayPal account email', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'currency_code', 'caption' => 'Currency Code', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'use_sandbox', 'caption' => 'PayPal Sandbox <br /> <span class=\'note\'>check to enable PayPal Sandbox</span>', 'type' => 'boolean', 'length' => '20', 'is_required' => false, 'is_system' => false));
     return array_merge($common_details, $specific_details);
 }
Exemplo n.º 4
0
 public static function getDetails()
 {
     $common_details = parent::getDetails();
     $specific_details = array(array('id' => 'user_name', 'caption' => 'PayPal Pro User name', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'user_password', 'caption' => 'PayPal Pro User password', 'type' => 'string', 'length' => '20', 'is_required' => true, 'is_system' => false), array('id' => 'user_signature', 'caption' => 'PayPal Pro User signature', 'type' => 'string', 'length' => '50', 'is_required' => true, 'is_system' => false), array('id' => 'use_sandbox', 'caption' => 'PayPal Pro Sandbox <br /> <span class=\'note\'>check to enable PayPal Sandbox</span>', 'type' => 'boolean', 'length' => '20', 'is_required' => false, 'is_system' => false), array('id' => 'https', 'caption' => 'https <br /> <span class=\'note\'>works only if SSL certificate is set up in the system</span>', 'type' => 'boolean', 'length' => '20', 'is_required' => false, 'is_system' => false), array('id' => 'country', 'caption' => 'Country <br /> <span class=\'note\'>The country your PayPal Pro account is registered in</span>', 'type' => 'list', 'list_values' => SJB_CountriesManager::getCountriesCodesAndNamesByCodes(array('US', 'CA', 'UK')), 'is_required' => true, 'is_system' => false));
     return array_merge($common_details, $specific_details);
 }