function init()
 {
     parent::init();
     if (!$this->config['country']) {
         $this->config['country'] = 'UK';
     }
     add_product_field('eway_currency', 'EWAY Currency', 'select', '', '', array('options' => array('GBP' => 'GBP')));
 }
 function init()
 {
     parent::init();
     add_product_field('twocheckout_id', '2Checkout ID', 'text', 'you must create the same product<br />
          in 2Checkout and enter its number here<br />
          it can be found at 2CO -> PRODUCTS -> VIEW: 2CO ID', 'validate_twocheckout_id');
 }
    function init()
    {
        parent::init();
        add_product_field('moneybookers_currency', 'moneybookers Currency', 'select', 'valid only for moneybookers processing.<br /> You should not change it<br /> if you use 
			another payment processors', '', array('options' => array('' => 'USD', 'GBP' => 'GBP', 'EUR' => 'EUR', 'CAD' => 'CAD', 'JPY' => 'JPY')));
    }
 function init()
 {
     parent::init();
     add_product_field('worldpay_currency', 'WorldPay Currency', 'select', 'currency for WorldPay gateway', '', array('options' => array('' => 'USD', 'GBP' => 'GBP', 'EUR' => 'EUR', 'JPY' => 'JPY', 'AUD' => 'AUD')));
 }
示例#5
0
 function init()
 {
     parent::init();
     add_product_field('gtbill_price_id', 'GTBill Price ID', 'text', 'Subscription plan PriceID.<br />Can be sent in as a comma delimited string, Ex. 1,2,3', 'validate_gtbill_price_id');
     add_product_field('gtbill_currency', 'GTBill Currency', 'select', 'currency for GTBill gateway', '', array('options' => array('USD' => 'US Dollar', 'EUR' => 'Euro', 'GBP' => 'Pound Sterling')));
 }
示例#6
0
 function init()
 {
     parent::init();
     add_product_field('icepay_currency', 'Icepay Currency', 'select', 'valid only for Icepay processing.<br /> You should not change it<br /> if you use
         another payment processors', '', array('options' => array('GBP' => 'GBP', 'USD' => 'USD', 'EUR' => 'EUR')));
 }
 function init()
 {
     parent::init();
     add_product_field('gate2shop_currency', 'Gate2Shop Currency', 'select', 'currency for Gate2Shop gateway', '', array('options' => array('USD' => 'US Dollar', 'EUR' => 'Euro', 'GBP' => 'Pound Sterling')));
 }
 function init()
 {
     parent::init();
     add_product_field('fastspring_id', 'FastSpring Product ID', 'text', "You can get an ID from your FastSpring account -> Product Pages -> Option 1: View Product Detail Page \n                    <br />For example ID is 'testmembership' for an URL http://sites.fastspring.com/your_company/product/testmembership", 'validate_fastspring_id');
 }
示例#9
0
 function init()
 {
     parent::init();
     if ($this->config['testing']) {
         $this->submit_url = 'https://devep2.datamax.bg/ep2/epay2_demo/';
     } else {
         $this->submit_url = 'https://www.epay.bg/';
     }
 }
 function init()
 {
     parent::init();
     add_product_field('tripledeal_currency', 'TripleDeal Currency', 'select', 'valid only for TripleDeal processing.<br /> You should not change it<br /> if you use
         another payment processors', '', array('options' => array('USD' => 'USD', 'EUR' => 'EUR')));
     add_payment_field('tripledeal_cluster_id', 'TripleDeal Payment Cluster Id', 'readonly', 'internal');
     add_payment_field('tripledeal_cluster_key', 'TripleDeal Payment Cluster Key', 'readonly', 'internal');
 }
示例#11
0
 function init()
 {
     parent::init();
     add_product_field('ikobo_product_id', 'iKobo Product ID *', 'text', 'have a look to iKobo plugin for description', 'validate_ikobo_id');
 }
 function init()
 {
     parent::init();
     add_product_field('realex_redirect_currency', 'RealEx Redirect Currency', 'select', 'currency for RealEx Redirect gateway', '', array('options' => array('EUR' => 'Euro', 'GBP' => 'Pound Sterling', 'USD' => 'US Dollar', 'SEK' => 'Swedish Krona', 'CHF' => 'Swiss Franc', 'HKD' => 'Hong Kong Dollar', 'JPY' => 'Japanese Yen')));
 }
 function init()
 {
     parent::init();
     add_product_field('clickandbuy_subscription_id', 'ClickAndBuy Purchase Link code (Subscription ID)', 'text', 'if empty, common code from plugin configuration will be used', '', '');
     add_product_field('clickandbuy_currency', 'ClickAndBuy Currency', 'select', 'currency for ClickAndBuy gateway', '', array('options' => array('USD' => 'US Dollar', 'EUR' => 'Euro', 'AUD' => 'Australian Dollar', 'GBP' => 'British Pound', 'CHF' => 'Swiss Franc', 'DKK' => 'Danish Krone', 'NOK' => 'Norwegian Krone', 'SEK' => 'Swedish Krone', 'NZD' => 'New Zealand Dollar', 'CAD' => 'Canadian Dollar', 'MXN' => 'Mexican Peso', 'ZAR' => 'South African Rand', 'TRY' => 'New Turkish Lira', 'JPY' => 'Japanese Yen', 'HKD' => 'Hong Kong Dollar', 'CNY' => 'Chinese Yuan', 'TWD' => 'Taiwanese Dollar', 'INR' => 'Indian Rupee', 'BRL' => 'Brazilian Real', 'KRW' => 'Korean Won', 'MYR' => 'Malaysian Ringgit')));
 }
示例#14
0
 function init()
 {
     parent::init();
     add_product_field('skypay_currency', 'Skyppay Currency', 'select', 'currency for Skypay gateway', '', array('options' => array('GBP' => 'GBP', 'EUR' => 'EUR', 'USD' => 'USD', 'JPY' => 'JPY', 'AUD' => 'AUD')));
     add_member_field('street2', 'Billing Street Address 2', 'text', "", '', array('hidden_anywhere' => 1));
 }
示例#15
0
 function add_config_items($notebook_page)
 {
     $plugin = $this->get_plugin_name();
     add_config_field('payment.' . $plugin . '.allow_create', 'Allow create new accounts', 'select', "aMember will create a member (if not exists) after purchase at " . $this->title . " directly.<br />\n            You should configure 'Paysystem  Product ID' for each product<br />\n            at aMember CP -> Manage Products -> Edit<br />\n            KEEP IT DISABLED IF YOU DON'T UNDERSTAND WHAT IT MEANS", $notebook_page, '', '', '', array('options' => array(0 => 'No', 1 => 'Yes')));
     parent::add_config_items($notebook_page);
 }
示例#16
0
 function init()
 {
     parent::init();
 }
示例#17
0
 function init()
 {
     parent::init();
     add_product_field('dotpay_currency', 'DotPay Currency', 'select', 'currency for DotPay gateway', '', array('options' => array('PLN' => 'PLN', 'EUR' => 'EUR', 'USD' => 'USD', 'GBP' => 'GBP', 'JPY' => 'JPY')));
 }
 function init()
 {
     parent::init();
     add_product_field('paypal_mobile_currency', 'PayPal Mobile Currency', 'select', 'valid only for PayPal Mobile processing.<br /> You should not change it<br /> if you use
         another payment processors', '', array('options' => array('USD' => 'U.S. Dollar', 'EUR' => 'Euro', 'GBP' => 'Pound Sterling', 'CAD' => 'Canadian Dollar', 'AUD' => 'Australian Dollar', 'CHF' => 'Swiss Franc', 'CZK' => 'Czech Koruna', 'DKK' => 'Danish Krone', 'HKD' => 'Hong Kong Dollar', 'HUF' => 'Hungarian Forint', 'JPY' => 'Japanese Yen', 'NOK' => 'Norwegian Krone', 'NZD' => 'New Zealand Dollar', 'PLN' => 'Polish Zloty', 'SEK' => 'Swedish Krona', 'SGD' => 'Singapore Dollar')));
     add_payment_field('token', 'PayPal Mobile Token', 'readonly', 'internal');
 }
 function init()
 {
     parent::init();
     add_product_field('globillnet_id', 'Globill.net ID', 'text', 'You must create this same subscription<br />in Globill.net and enter its number here', 'validate_globillnet_id');
 }
 function init()
 {
     parent::init();
     add_product_field('paypal_currency', 'PayPal Currency', 'select', 'valid only for PayPal processing.<br /> You should not change it<br /> if you use
         another payment processors', '', array('options' => array('' => 'USD', 'GBP' => 'GBP', 'EUR' => 'EUR', 'CAD' => 'CAD', 'AUD' => 'AUD', 'JPY' => 'JPY')));
     if ($this->config['locale']) {
         $this->locale = $this->config['locale'];
     }
     if ($this->config['testing']) {
         $this->paypal_domain = "www.sandbox.paypal.com";
     } else {
         $this->paypal_domain = "www.paypal.com";
     }
 }
示例#21
0
 function init()
 {
     parent::init();
     add_member_field('saferpay_user_pan', '', 'hidden');
     add_member_field('saferpay_user_expmonth', '', 'hidden');
     add_member_field('saferpay_user_expyear', '', 'hidden');
 }
示例#22
0
 function init()
 {
     parent::init();
     add_product_field('zombaio_id', 'Zombaio product PRICING ID', 'text', 'you must create the same product<br />
          in Zombaio and enter its number here', 'validate_zombaio_id');
 }