Example #1
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant_id')->setLabel(array('Your Algocharge Merchand ID'))->addRule('required');
     $form->addText('merchant_desc', array('maxlength' => 9))->setLabel(array('Description', "typically value is the name of the company\nmax length - 9 symbols"));
     $form->addAdvCheckbox('is_adult')->setLabel(array('For Adult Products'));
     $form->addAdvCheckbox('test_mode')->setLabel(array('Test Mode Enabled'));
 }
Example #2
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('apiKey', array('size' => 40))->setLabel(array('Merchant API Key', 'from bitpay merchant account -> My Account -> API Access keys'))->addRule('required');
     $form->addSelect('bitpay_speed_risk')->setLabel(array('Default Bitpay speed/risk'))->loadOptions($this->transactionSpeedOptions);
     $form->addAdvCheckbox("use_http")->setLabel(array("Use HTTP Protocol", "at return URL"));
     $form->addAdvCheckbox("debugMode")->setLabel(array("Debug Mode Enabled", "write all requests/responses to log"));
 }
Example #3
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.");
 }
Example #4
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('login')->setLabel(array('Authorize.Net API Login ID', "The API login is different from your Authorize.net username\n" . "You can get at the same time as the Transaction Key"))->addRule('required');
     $form->addText('tkey')->setLabel(array('Transaction Key', "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 Interface:\n" . "1. Log into the Merchant Interface\n" . "2. Select Settings from the Main Menu\n" . "3. Click on Obtain Transaction Key in the Security section\n" . "4. Type in the answer to the secret question configured on setup\n" . "5. Click Submit"))->addRule('required');
     $form->addPassword('secret')->setLabel(array('Secret Word', "From authorize.net MD5 Hash menu\n" . "You have to create secret word"))->addRule('required');
     $form->addAdvCheckbox('testmode')->setLabel('Is Test Mode?');
     $form->addAdvCheckbox('devmode')->setLabel(array('Is Developer Account?', 'Select it if you are using developer API Login ID'));
 }
Example #5
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $plugin = $this->getId();
     $form->addText("business", array('size' => 40))->setLabel("Primary Paypal E-Mail Address");
     $form->addAdvCheckbox("testing")->setLabel("Is it a Sandbox(Testing) Account?");
     $form->addTextarea("alt_business", array('cols' => 40, 'rows' => 3))->setLabel("Alternate PayPal account emails (one per line)");
     $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.");
     $form->addText("lc", array('size' => 4))->setLabel("PayPal Language Code\n" . "This field allows you to configure PayPal page language\n                that will be displayed when customer is redirected from your website\n                to PayPal for payment. By default, this value is empty, then PayPal\n                will automatically choose which language to use. Or, alternatively,\n                you can specify for example: en (for english language), or fr\n                (for french Language) and so on. In this case, PayPal will not choose\n                language automatically. <br />\n                Default value for this field is empty string");
 }
Example #6
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('site_id', array('size' => 20))->setLabel('Your Zombaio Site ID');
     $form->addInteger('merchant_id', array('size' => 20))->setLabel(array('Your Zombaio Merchant ID', 'Can be found in ZOA dashboard'));
     $form->addText('password')->setLabel(array("Zombaio GW Pass", "Unique key for the verify site/merchant. Can be found under site information in Zombaio Online Administrator"));
     $form->addSelect("lang", array(), array('options' => array('ZOM' => 'Default (Script will detect user language based on IP)', 'US' => 'English', 'FR' => 'French', 'DE' => 'German', 'IT' => 'Italian', 'JP' => 'Japanese', 'ES' => 'Spanish', 'SE' => 'Swedish', 'KR' => 'Korean', 'CH' => 'Traditional Chinese', 'HK' => 'Simplified Chinese')))->setLabel('Zombaio Site Language');
     $form->addAdvCheckbox('validation_mode')->setLabel(array('Enable Validation Mode', 'Turn this on in order to validate ZScript in your Zombaio account. 
             After script will be validated this setting should be disabled immediately'));
     $form->addAdvCheckbox('dynamic_pricing')->setLabel(array('Enable Dynamic Pricing', 'The amount must be within the range €/$ 10.00 - €/$ 100.00 if you want to use other amounts you must get an approval from support@zombaio.com'));
 }
Example #7
0
 protected function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('user', array('size' => 60))->setLabel(array('User name of icontact account', ''))->addRule('required');
     $form->addText('apiappid', array('size' => 60))->setLabel(array('API AppId', ''))->addRule('required');
     $form->addText('apipass', array('size' => 60))->setLabel(array('API Pass', ''))->addRule('required');
     $form->addText('accountid', array('size' => 60))->setLabel(array('Your account ID', ''))->addRule('required')->addRule('regex', ___('Digits only please'), '/^[0-9]+$/');
     $form->addText('clientfolderid', array('size' => 60))->setLabel(array('Your client folder ID', ''))->addRule('required')->addRule('regex', ___('Digits only please'), '/^[0-9]+$/');
     $form->addAdvCheckbox('testmode')->setLabel(array('Test mode', 'Use sandbox.'));
     $form->addAdvCheckbox('debuglog')->setLabel(array('Debug logging', 'Record debug information in the log.'));
 }
Example #8
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("company")->setLabel(array("Your company name in payforit platform", ""))->addRule('required');
     $form->addText("password", array('size' => 40))->setLabel(array("Your password in payforit platform", ""))->addRule('required');
     $form->addSelect("window")->setLabel(array("Type of Payforit Window ", "to render for the end user"))->loadOptions(array('small' => 'small', 'embed_small ' => 'embed_small ', 'large' => 'large', 'embed_large' => 'embed_large'));
     $form->addAdvCheckbox("is_frame")->setLabel(array("Use Iframe", ""));
     $form->addAdvCheckbox("debugLog")->setLabel(array("Debug Log Enabled", "write all requests/responses to log"));
     // hide reattempt
     $form->addScript()->setScript('$(function(){$("[id^=\'row-reattempt-\']").remove()});');
 }
Example #9
0
 function _initSetupForm(Am_Form_Setup $form)
 {
     $el = $form->addPassword('api_key', array('size' => 40))->setLabel('MailChimp API Key' . "\n<a target='_blank' href=''></a>");
     $el->addRule('required');
     $el->addRule('regex', 'API Key must be in form xxxxxxxxxxxx-xxx', '/^[a-zA-Z0-9]+-[a-zA-Z0-9]{2,4}$/');
     $form->addAdvCheckbox('disable_double_optin')->setLabel(array('Disable Double Opt-in', '<a href="http://kb.mailchimp.com/article/how-does-confirmed-optin-or-double-optin-work">http://kb.mailchimp.com/article/how-does-confirmed-optin-or-double-optin-work</a>'));
     $form->addAdvCheckbox('send_welcome')->setLabel(array('Send Welcome Message', 'Should Mailchimp send Welcome Email after opt-in'));
     $form->addAdvCheckbox('send_goodbye')->setLabel(array('Send Goodbye Message', ''));
     $form->addAdvCheckbox('ecommerce_tracking')->setLabel(array('Enable Ecommerce360 tracking', 'Read more: <a href="http://kb.mailchimp.com/article/what-is-ecommerce360-and-how-does-it-work-with-mailchimp/">on mailchimp site</a>'));
 }
Example #10
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addSelect("ideal_bank")->setLabel("Merchant bank")->loadOptions(array('ing' => 'secure-ing.com', 'rabobank' => 'rabobank.nl'));
     $form->addInteger("merchantId", array('maxlength' => 15, 'size' => 15))->setLabel(array("Merchant ID", ""))->addRule('required');
     $form->addInteger("subId", array('value' => 0))->setLabel(array("Sub ID", "usually it is not need to change it"));
     $form->addText("privateKey", array('size' => 40))->setLabel(array("Private Key", "filename of private key"))->addRule('required');
     $form->addText("privateKeyPass")->setLabel(array("Private Key Password", "password for private key"))->addRule('required');
     $form->addText("privateCert", array('size' => 40))->setLabel(array("Merchant Certificate", "filename of the certificate created by the merchant"))->addRule('required');
     $form->addText("acquirerCert", array('size' => 40))->setLabel(array("Acquirer Certificate", "filename of the certificate created by the acquirer"))->addRule('required');
     $form->addSelect("lang")->setLabel(array("Language", ""))->loadOptions(array('nl' => 'NL', 'en' => 'EN'));
     $form->addAdvCheckbox("testMode")->setLabel(array("Test Mode Enabled", ""));
     $form->addAdvCheckbox("debugLog")->setLabel(array("Debug Log Enabled", "write all requests/responses to log"));
 }
Example #11
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", ""));
 }
Example #12
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'));
 }
Example #13
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');
 }
Example #14
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?");
 }
Example #15
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.'));
 }
Example #16
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');
 }
Example #17
0
    protected function _initSetupForm(Am_Form_Setup $form)
    {
        $form->addText('login')->setLabel('API Login')->addRule('required');
        $form->addPassword('passwd')->setLabel('API Password')->addRule('required');
        $form->addText('pslid')->setLabel('PSLID (Service User)')->addRule('required');
        $form->addText('sun')->setLabel('Service User Number (SUN)')->addRule('required');
        $form->addText('lead_time')->setLabel('Lead time, days')->default = 12;
        for ($i = 1; $i <= 28; $i++) {
            $options[$i] = ___("%d-th day", $i);
        }
        $payment_day = $form->addMagicSelect('payment_day')->setLabel(___("Process Payment Day"))->loadOptions($options);
        $payment_day->default = 8;
        $payment_day->addRule('required');
        $form->addText('legal_name', array('class' => 'el-wide'))->setLabel(___("Legal Name\n" . "Please enter the legal name of your organisation " . "which will be included in the Direct Debit Guarantee statement"))->addRule('required');
        $form->addTextarea('legal_address', array('class' => 'el-wide', 'rows' => 5))->setLabel(___("Legal Address\n" . "Please enter the legal address of your organisation " . "which will be included in the Direct Debit Guarantee statement"))->addRule('required');
        $form->addAdvCheckbox('auddis', array('id' => 'auddis'))->setLabel("Log AUDDIS reports as Tickets in helpdesk\n" . "helpdesk module should be enabled");
        $form->addText('auddis_login', array('id' => 'auddis-login'))->setLabel('Username of user for AUDDIS reports');
        $form->addScript()->setScript(<<<CUT
(function(){
    \$('#auddis').change(function(){
        \$('#auddis-login').closest('.row').toggle(this.checked);
    }).change();
    \$('#auddis-login').autocomplete({
        minLength: 2,
        source: window.rootUrl + "/admin-users/autocomplete/"
    });
})()
CUT
);
    }
Example #18
0
 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('CustomerID', array('size' => 20))->setLabel(array('Customer ID', 'Your eWAY Customer ID'))->addRule('required');
     $form->addText('UserName', array('size' => 20))->setLabel(array('User name', 'Your eWAY Customer User Name'))->addRule('required');
     $form->addText('PageTitle ', array('size' => 60))->setLabel(array('Page Title', 'This is value will be displayed as the title of the browser.
             Default: eWAY Hosted Payment Page'));
     $form->addText('PageDescription', array('size' => 200))->setLabel(array('Page Description', 'This value will be displayed above the Transaction Details.
             Default: Blank'));
     $form->addText('PageFooter', array('size' => 60))->setLabel(array('Page Footer', 'This value will be displayed below the Transaction Details.'));
     $form->addText('CompanyLogo', array('size' => 200))->setLabel(array('URL company logo', 'The url of the image can be hosted on the
             merchants website and pass the secure
             https:// path of the image to be displayed
             at the top of the website. This is the top
             image block on the webpage and is
             restricted to 960px X 65px. A default secure
             image is used if none is supplied.'));
     $form->addText('Pagebanner', array('size' => 200))->setLabel(array('URL page banner', 'The url of the image can be hosted on the
             merchants website and pass the secure
             https:// path of the image to be displayed
             at the top of the website. This is the second
             image block on the webpage and is
             restricted to 960px X 65px. A default secure
             image is used if none is supplied.'));
     $form->addAdvCheckbox('ModifiableCustomerDetails')->setLabel(array('Modifiable customer cetails', 'This field specifies if the customer can
             change the contact details on the payment
             page This is useful if the merchant is not
             collecting details on their site.'));
     $form->addSelect("Language", array(), array('options' => array('EN' => 'English', 'ES' => 'Spanish', 'FR' => 'French', 'DE' => 'German', 'NL' => 'Dutch')))->setLabel('Language');
     $form->addText('CompanyName', array('size' => 60))->setLabel(array('Company name', 'This will be displayed as the company the
             customer is purchasing from, including this
             is highly recommended.'));
     $form->addSelect("Country", array(), array('options' => array('UK' => 'United Kingdom', 'AU' => 'Australia', 'NZ' => 'New Zeland')))->setLabel('Country');
 }
Example #19
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');
 }
Example #20
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');
 }
Example #21
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?");
 }
Example #22
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");
 }
Example #23
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");
 }
Example #24
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');
 }
Example #25
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");
 }
Example #26
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.");
 }
Example #27
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');
 }
Example #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 передачей данных скрипту-обработчику'));
 }
Example #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');
 }
Example #30
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');
 }