Ejemplo n.º 1
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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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'));
 }
Ejemplo n.º 6
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');
 }
Ejemplo n.º 7
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('merchant_id', array('size' => 20, 'maxlength' => 20))->setLabel('Your Verotel Merchant ID#');
     $form->addInteger('site_id')->setLabel('Verotel Site Id');
     $form->addAdvCheckbox('dynamic_pricing')->setLabel(array('Allow Dynamic Pricing', 'this option does not allow to use recurring'));
     $form->addText('secret')->setLabel(array('Private key', 'required for dynamic pricing only'));
 }
Ejemplo n.º 8
0
    function _afterInitSetupForm(Am_Form_Setup $form)
    {
        $url = Am_Controller::escape(REL_ROOT_URL) . '/default/admin-content/p/newsletter/index';
        $text = ___("Once the plugin configuration is finished on this page, do not forget to add\n" . "a record on %saMember CP -> Protect Content -> Newsletters%s page", '<a href="' . $url . '" target="_blank" class="link">', '</a>');
        $form->addProlog(<<<CUT
<div class="warning_box">
    {$text}
</div>
CUT
);
        if ($this->canGetLists()) {
            $lists = array();
            try {
                foreach ($this->getLists() as $k => $v) {
                    $lists[$k] = $v['title'];
                }
            } catch (Exception $e) {
                //just log
                $this->getDi()->errorLogTable->logException($e);
            }
            $gr = $form->addGroup()->setLabel(___('Unsubscribe customer from selected newsletter threads'));
            $gr->addSelect('unsubscribe_after_signup')->loadOptions(array('' => ___('Please Select'), self::UNSUBSCRIBE_AFTER_ADDED => ___('After the user has been added'), self::UNSUBSCRIBE_AFTER_PAID => ___('After first payment has been completed')));
            $gr->addStatic()->setContent('<br><br>');
            $gr->addMagicSelect('unsubscribe_after_signup_lists')->loadOptions($lists);
        }
        parent::_afterInitSetupForm($form);
    }
Ejemplo n.º 9
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");
 }
Ejemplo n.º 10
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $plugin = $this->getId();
     $form->addText("business", array('size' => 40))->setLabel("Your PayPal Email Address");
     $form->addTextarea("alt_business", array('cols' => 40, 'rows' => 3))->setLabel("Other Paypal Email addresses that you have registered in WSO PRO");
     $form->addAdvCheckbox("dont_verify")->setLabel("Disable IPN verification\n" . "<b>Usually you DO NOT NEED to enable this option.</b>\n            However, on some webhostings PHP scripts are not allowed to contact external\n            web sites. It breaks functionality of the PayPal payment integration plugin,\n            and aMember Pro then is unable to contact PayPal to verify that incoming\n            IPN post is genuine. In this case, AS TEMPORARY SOLUTION, you can enable\n            this option to don't contact PayPal server for verification. However,\n            in this case \"hackers\" can signup on your site without actual payment.\n            So if you have enabled this option, contact your webhost and ask them to\n            open outgoing connections to www.paypal.com port 80 ASAP, then disable\n            this option to make your site secure again.");
 }
Ejemplo n.º 11
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("api_key", array('class' => 'el-wide'))->setLabel('Merchant API Key');
     $form->addPassword("api_secret", array('class' => 'el-wide'))->setLabel('Merchant API Secret');
     $form->addAdvCheckbox("testing")->setLabel("Is it a Sandbox (Testing) Account?");
     $form->addAdvCheckbox("dont_verify")->setLabel("Disable IPN verification\n" . "<b>Usually you DO NOT NEED to enable this option.</b>\n            However, on some webhostings PHP scripts are not allowed to contact external\n            web sites. It breaks functionality of the Xrefs payment integration plugin,\n            and aMember Pro then is unable to contact Xrefs to verify that incoming\n            IPN post is genuine. In this case, AS TEMPORARY SOLUTION, you can enable\n            this option to don't contact Xrefs server for verification. However,\n            in this case \"hackers\" can signup on your site without actual payment.\n            So if you have enabled this option, contact your webhost and ask them to\n            open outgoing connections to www.xfers.io port 80 ASAP, then disable\n            this option to make your site secure again.");
 }
Ejemplo n.º 12
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.");
 }
Ejemplo n.º 13
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');
 }
Ejemplo n.º 14
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");
 }
Ejemplo n.º 15
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?");
 }
Ejemplo n.º 16
0
 function onSetupForms(Am_Event_SetupForms $forms)
 {
     $form = new Am_Form_Setup('getclicky');
     $form->setTitle("GetClicky");
     $forms->addForm($form);
     $form->addInteger('getclicky_id')->setLabel(array("GetClicky Account Id"));
 }
Ejemplo n.º 17
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');
 }
Ejemplo n.º 18
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 передачей данных скрипту-обработчику'));
 }
Ejemplo n.º 19
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $s = $form->addSelect("testing")->setLabel("test Mode Enabled");
     $s->addOption("Live account", self::MODE_LIVE);
     $s->addOption("Sandbox account", self::MODE_SANDBOX);
     //        $s->addOption("Account in test mode", self::MODE_TEST);
 }
Ejemplo n.º 20
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');
 }
Ejemplo n.º 21
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger("merchant", array('maxlength' => 15, 'size' => 15))->setLabel(array("Korta Merchant", ""))->addRule('required');
     $form->addInteger("terminal", array('maxlength' => 15, 'size' => 15))->setLabel(array("Korta Terminal", ""))->addRule('required');
     $form->addText("secretCode", array('size' => 40))->setLabel(array("Korta Secret Code", ""))->addRule('required');
     $form->addAdvCheckbox("testMode")->setLabel(array("Test Mode Enabled", ""));
 }
Ejemplo n.º 22
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant', array('size' => 20, 'maxlength' => 16))->setlabel("Shop identification\n" . "(Merchant ID)")->addRule('required');
     $form->addElement('textarea', 'hmackey', array('rows' => 4, 'style' => 'width:30%'))->setLabel("HMAC key")->addRule('required');
     $form->addSelect('lang', array(), array('options' => array('da' => 'Danish', 'sv' => 'Swedish', 'nb' => 'Norwegian', 'en' => 'English')))->setLabel("The payment window language");
     $form->addAdvCheckbox('test')->setLabel("Test Mode Enabled");
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 24
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('installation_id', array('size' => 20))->setLabel('WorldPay Installation Id (number)');
     //        $form->addText('callback_pw', array('size'=>20))
     //            ->setLabel('Callback Password (the same as configured in WorldPay)');
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
Ejemplo n.º 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?");
 }
Ejemplo n.º 26
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.'));
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 28
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'));
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 30
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'));
 }