Beispiel #1
0
    function _initSetupForm(Am_Form_Setup $form)
    {
        $form->setTitle('Selectel');
        $form->addText('access_key', array('size' => 40))->setLabel('Your account login')->addRule('required');
        $form->addPassword('secret_key', array('size' => 40))->setLabel(array('Password for Cloud Storage', '(separate password then for Control Panel)'))->addRule('required');
        $form->addText('expire', array('size' => 5))->setLabel('Video link life-time, min');
        $form->setDefault('expire', 15);
        if ($this->isConfigured()) {
            try {
                $containers = $this->getDi()->cacheFunction->call(array($this->getConnector(), 'getContainersList'), array(), array(), $this->cacheLifetime);
                $containers = array('' => '== Please select public Container ==') + $containers;
            } catch (Exception $e) {
                $containers = array('' => 'Please create public container');
            }
            $form->addSelect('links_container', '', array('options' => array_combine($containers, $containers)))->setLabel(array('Container for links', 'aMember will create links in the following format: http://yourcloudstorageurl.com/CONTAINERNAME/uniquekey/filename.mp4'))->addRule('required');
        }
        $msg = <<<EOT
    Make sure that you store all your files in private containers.
    In order to provide an access to the files, create one free container, and specify it in plugin configuration.
    aMember will create symlinks to the files and put these symilnks to that public container. Links are one-time and time-limited.
    For example if you name your public container "download", end-user will see these links:
    https://88901.selcdn.ru/download/9365d4a676845f607e46e19038305ba0/filename.mp4

EOT;
        $form->addProlog(<<<CUT
<div class="info"><strong>{$msg}</strong></div>
CUT
);
    }
Beispiel #2
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('site_id')->setLabel(array('Site ID', 'Identifier of the merchant site'));
     $form->addText('api_key')->setLabel(array('API Key', 'This keyset is available under My Profile in the Allopass merchant account.'));
     $form->addText('api_secret_key')->setLabel(array('API Secret Key', 'This keyset is available under My Profile in the Allopass merchant account.'));
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Beispiel #3
0
 function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant_id')->setLabel('Merchant ID');
     $form->addText('security_key')->setLabel('Private Security Key');
     $form->addSelect('language', '', array('options' => array('ru' => 'Русский', 'en' => 'English')))->setLabel('Interface language');
     $form->addAdvCheckbox('cc_form')->setLabel('Send User to CC form directly');
 }
Beispiel #4
0
 protected function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('destination_id', 'size=60')->setLabel('Dwolla Account Number', 'Dwolla account ID receiving the funds. Format : XXX-XXX-XXXX.');
     $form->addText('app_key', 'size=60')->setLabel('Application Key', 'The key used for the Dwolla API');
     $form->addText('app_secret', 'size=60')->setLabel('Application Secret', 'The secret code used for the Dwolla API');
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Beispiel #5
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('web_id', array('size' => 20, 'maxlength' => 20))->setLabel('2000Charge.com website ID')->addRule('required');
     $form->addText('account')->setLabel('Your client account login id');
     $form->addText('pwd')->setLabel('Your client account login password');
     $form->addSelect('payment_option', '', array('options' => $this->payment_options))->setLabel(array('Payment Option', 'Display Only Specified Payment Options'));
 }
Beispiel #6
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('account')->setLabel(array('Your Account Id in Ecsuite', 'your account number on Ecsuite, like 112233'));
     $form->addText('subaccount_id')->setLabel(array('Subaccount number', 'like 0001 or 0002'));
     $form->addText('datalink_user')->setLabel(array('DataLink Username', 'read Ecsuite plugin readme (11) about'));
     $form->addText('datalink_pass')->setLabel(array('DataLink Password', 'read Ecsuite plugin readme (11) about'));
 }
Beispiel #7
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("account_id")->setLabel(array('Account ID', ''));
     $form->addText("site_id")->setLabel(array('Site ID', ''));
     $form->addText("site_code")->setLabel(array('Site Code', ''));
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Beispiel #8
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('merchant_id', array('size' => 20))->setLabel('SWREG Account#');
     $form->addText('product_id', array('size' => 20))->setLabel('SWREG Product#');
     $form->addText('ip', array('size' => 10))->setLabel('SWREG Postback IP, default value is 64.37.103.135');
     $form->addPassword('pass', array('size' => 10))->setLabel('SWREG API Password');
 }
Beispiel #9
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("installation_id", array('size' => 15))->setLabel(array("Your Metacharge installation ID", "refer to Merchant Extranet: Account Management > Installations"))->addRule('required');
     $form->addText("auth_username", array('size' => 15))->setLabel(array("Response HTTP Auth Username", "Metacharge PRN response authorisation username"))->addRule('required');
     $form->addPassword("auth_password", array('size' => 15))->setLabel(array("Response HTTP Auth Password", "Metacharge PRN response authorisation password"))->addRule('required');
     $form->addAdvCheckbox("testing")->setLabel("Test Mode Enabled");
 }
Beispiel #10
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('fp_account')->setLabel(array('Your FasaPay Store Account'))->addRule('required');
     $form->addText('fp_store')->setLabel(array('FasaPay Store Name'))->addRule('required');
     $form->addText('security_word', array('size' => 40))->setLabel(array('FasaPay Store Security Word'))->addRule('required');
     $form->addAdvCheckbox('is_sandbox')->setLabel(array('Sandbox Mode Enabled', "use sandbox account data from http://sandbox.fasapay.com/"));
 }
Beispiel #11
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('account_id')->setLabel('NetBilling Account ID')->addRule('required');
     $form->addText('site_tag')->setLabel(array('NetBilling Site Tag', "create it at your netbilling account -> Setup -> Site Tools -> Site tags"))->addRule('required');
     $form->addText('crypto_hash')->setLabel(array('MD5 crypto-hash', "create it at your netbilling account -> Fraud Controls -> Fraud Defense -> Step 12"))->addRule('required');
     $form->addAdvCheckbox("debugLog")->setLabel(array("Debug Log Enabled", "write all requests/responses to log"));
 }
Beispiel #12
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('account', array('size' => 20, 'maxlength' => 16))->setLabel("ClickBank Account Nickname\n" . "your ClickBank username")->addRule('required');
     $form->addPassword('secret', array('size' => 20, 'maxlength' => 16))->setLabel("Secret Key\n" . "defined at clickbank.com -> login -> SETTINGS -> My Site -> Advanced Tools (edit)")->addRule('required');
     $form->addText('clerk_key', array('size' => 50))->setLabel("ClickBank Clerk API Key\n" . "defined at clickbank.com -> login -> SETTINGS -> My Account -> Clerk API Keys (edit)")->addRule('required');
     $form->addText('dev_key', array('size' => 50))->setLabel("Developer API Key\n" . "defined at clickbank.com -> login -> SETTINGS -> My Account -> Developer API Keys (edit)")->addRule('required');
 }
Beispiel #13
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("aid")->setLabel(array('Sub-Account-ID', ''))->addRule('required');
     $form->addText("portalid")->setLabel(array('Portal-ID', ''))->addRule('required');
     $form->addText('secret_key', 'size=40')->setLabel(array('Key', ''))->addRule('required');
     $form->addSelect("testing", array(), array('options' => array('' => 'No', '1' => 'Yes')))->setLabel('Test Mode');
 }
Beispiel #14
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant_id', array('size' => 10))->setLabel('Your Merchant ID');
     $form->addText('access_token', array('size' => 64))->setLabel('Your Merchant access token');
     $form->addText('webhook_token', array('size' => 64))->setLabel('Your Merchant WebHook token');
     $form->addAdvCheckbox("testing")->setLabel("Is it a Sandbox(Testing) Account?");
 }
Beispiel #15
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('pspid', array('size' => 20))->setLabel('Your Affiliation Name in Postfinance');
     $form->addText('sha_in', array('size' => 20))->setLabel('SHA IN pass phrase');
     $form->addText('sha_out', array('size' => 20))->setLabel('SHA OUT pass phrase');
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Beispiel #16
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('account_id')->setLabel(array('Merchant Account Id'));
     $form->addText('secret')->setLabel(array('Merchant Secret Key'));
     $sel = $form->addSelect('mode')->setLabel('Mode');
     $sel->loadOptions(array('TEST' => 'Test mode', 'LIVE' => 'Live mode'));
 }
Beispiel #17
0
 protected function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('url', array('size' => 60))->setLabel(array('XML Path', ''))->addRule('required')->addRule('regex', 'URL must start with http:// or https://', '/^(http|https):\\/\\//');
     $form->addText('username', array('size' => 60))->setLabel(array('XML Username', 'The user name used to login to the Interspire Email Marketer'))->addRule('required');
     $form->addText('usertoken', array('size' => 60))->setLabel(array('XML Token', 'The unique token assigned to the user account used above'))->addRule('required');
     $form->addAdvCheckbox('xmldebuglog')->setLabel(array('XML bebug log', 'XML record in the log.'));
 }
Beispiel #18
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant', array('size' => 20))->setLabel('PayPoint Username');
     $form->addText('remote_password', array('size' => 30))->setLabel(array('Remote Password', 'Please see readme below'));
     $form->addText('digestkey', array('size' => 30))->setLabel(array('Digest Key', 'Created from within the PayPoint.net Merchant Extranet'));
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Beispiel #19
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant')->setLabel('Merchant Name');
     $form->addText('MerchantGUID')->setLabel('API Merchant ID');
     $form->addPassword('MerchantPassword')->setLabel('API Merchant Password');
     $form->addAdvCheckbox('testing')->setLabel("Is it a Sandbox(Testing) Account?");
 }
Beispiel #20
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("login")->setLabel(array('API Login ID', '
         can be obtained from the same page as Transaction Key (see below)'));
     $form->addText("tkey")->setLabel(array('Transaction Key', "<p>The transaction key is generated by the system\n    and can be obtained from Merchant Interface.\n    To obtain the transaction key from the Merchant\n    Interface</p>\n<ol>\n<li> Log into the Merchant Interface\n<li> Select Settings from the Main Menu\n<li> Click on Obtain Transaction Key in the Security section\n<li> Type in the answer to the secret question configured on setup\n<li> Click Submit\n</ol>\n"));
     $form->addAdvCheckbox("test_mode")->setLabel("Test Mode Enabled");
 }
Beispiel #21
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('account_id')->setLabel(array('Merchant Account Id'));
     $form->addText('secret')->setLabel(array('Merchant Secret Key'));
     $form->addText('java_path')->setLabel(array('Unix path to java binary', 'for ex. java or /usr/bin/java'));
     $form->setDefault('java_path', 'java');
 }
Beispiel #22
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('pos_id', array('size' => 20))->setLabel('Id punktu płatności (pos_id)');
     $form->addText('key1', array('size' => 32, 'maxlength' => '32'))->setLabel('Klucz MD5');
     $form->addText('key2', array('size' => 32, 'maxlength' => '32'))->setLabel('Drugi klucz MD5');
     $form->addText('pos_auth_key', array('size' => 20, 'maxlength' => '32'))->setLabel('Parametr pos_auth_key');
 }
Beispiel #23
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('shop_reference')->setLabel('Shop ID')->addRule('required');
     $form->addText('shop_name')->setLabel('Shop Name')->addRule('required');
     $form->addSelect('type')->setLabel('Payment Type')->loadOptions(array('' => '-- Please Select --', 'ecard' => 'Card', 'etransfer' => 'Bank Transfer', 'payment' => 'User Choice'))->addRule('required');
     $form->addSelect('lang')->setLabel('Language')->loadOptions(array('' => '-- Please Select --', 'pl' => 'Polish', 'en' => 'English', 'cz' => 'Czech', 'de' => 'Deutsch', 'dk' => 'Denmark', 'fi' => 'Deutsch', 'fr' => 'France', 'hu' => 'Hungary', 'it' => 'Italiano', 'ro' => 'Romanian', 'se' => 'Swedish', 'sk' => 'Slovakia', 'sl' => 'Slovenia', 'sp' => 'Spain'))->addRule('required');
 }
Beispiel #24
0
 function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('siteid', array('size' => 20, 'maxlength' => 20))->setLabel("Site-ID: will be assigned by INET-CASH after you create your shop");
     $form->addSelect('lang', array(), array('options' => array('en' => 'English', 'de' => 'Deutsch', 'es' => 'Español', 'pl' => 'język polski', 'fr' => 'français')))->setLabel("Language");
     $form->addSelect('zahlart', array(), array('options' => array('all' => 'All available types', 'cc' => 'Credit Card', 'dd' => 'Direct Debit, only Germany/Austria', 'db' => 'Sofortuberweisung', 'dp' => 'Payment in advance')))->setLabel("Payment method");
     $form->addText('owntxt', array('size' => '18', 'maxlength' => 18))->setLabel("Your own text will be shown on the top of the payment form.");
 }
Beispiel #25
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('code')->setLabel('Merchant Code (FUC)');
     $form->addText('terminal')->setLabel('Terminal');
     $form->addPassword('secret')->setLabel('Secret Key (CLAVE SECRETA)');
     $form->addAdvCheckbox('testing')->setLabel("Is it a Sandbox (Testing) Account?");
 }
Beispiel #26
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("merchant_id")->setLabel(array('Merchant ID', 'Merchant unique identification number as provided by  Gate2Shop'));
     $form->addText("merchant_site_id")->setLabel(array('Merchant Site ID', 'Merchant web site unique identification number  as provided by Gate2Shop'));
     $form->addText("secret_key", array('size' => 40))->setLabel(array('Secret Key'));
     $form->addAdvCheckbox("testing")->setLabel("Test Mode Enabled");
 }
Beispiel #27
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("merchant")->setLabel(array('Your merchant identifier', 'received from ePayment'));
     $form->addText("secret")->setLabel(array('Secret Key', 'received from ePayment'));
     $form->addSelect("testing", array(), array('options' => array(self::NO => 'No', self::YES => 'Yes')))->setLabel(array('Testing', 'enable/disable testmode'));
     $form->addSelect("language", array(), array('options' => array('ro' => 'Romanian', 'en' => 'English', 'fr' => 'French', 'it' => 'Italian', 'de' => 'German', 'es' => 'Spanish')))->setLabel('Site Language');
 }
Beispiel #28
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('a1lite_form_key')->setLabel(array('Ключ из HTML формы', 'Инструменты -> A1Lite -> Создать кнопку' . '<br />' . "затем скопировать 'value' параметра 'key' из полученной формы" . '<br />' . 'например <b>123456</b> из ' . htmlspecialchars('<input type="hidden" name="key" value="123456" />')));
     $form->addText('a1lite_api_secret_key')->setLabel(array('Секретный ключ', 'Инструменты -> A1Lite -> Управление -> Редактирование сервиса'));
     $form->addSelect('type', array(), array('options' => array('' => 'Любой тип оплаты', 'wm' => 'WebMoney', 'sms' => 'SMS', 'terminal' => 'Терминал оплаты Qiwi', 'qiwi_wallet' => 'Qiwi кошелек', 'w1' => 'W1', 'rbk_money' => 'РБК Money', 'ym' => 'Яндекс.Деньги', 'card' => 'Visa/MasterCard (ЕКО)', 'mb' => 'Visa/MasterCard (Мастер-Банк)', 'bm' => 'Visa/MasterCard (Банк Москвы)', 'esgp' => 'Терминал ЕСГП', 'russky_standart' => 'Visa/MasterCard (Русский Стандарт)', 'mc' => 'Мобильный платёж')))->setLabel('Тип оплаты, на который Вы хотите отправить пользователя');
     $form->addAdvCheckbox('testing')->setLabel(array('Тестирование сервиса', 'Имитацию отправки запроса из аккаунта A1pay' . '<br />' . 'c передачей данных скрипту-обработчику'));
 }
Beispiel #29
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('SID', array('size' => 20, 'maxlength' => 19))->setLabel('Webmaster-ID')->addRule('required');
     $form->addText('PID', array('size' => 20, 'maxlength' => 19))->setLabel(array('PID', 'Everyone who operates own websites gets a PID'))->addRule('required');
     $form->addText('CON', array('size' => 20, 'maxlength' => 19))->setLabel(array('CON', 'Each content a.k.a. website is identified by a content id, named CON'))->addRule('required');
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Beispiel #30
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('package_id')->setLabel(array('The Package ID', 'Merchant Setup -> Packages -> Package ID'));
     $form->addText('userid')->setLabel(array('Refunds Username', 'my.segpay.com username'));
     $form->addText('useraccesskey')->setLabel(array('Refunds Password', 'my.segpay.com password'));
     $form->addAdvCheckbox('dynamic_pricing')->setLabel(array('Allow Dynamic Pricing', 'this option does not allow to use recurring'));
 }