Jump to content

Roozbeh Aghabeighi

Members
  • Posts

    4
  • Joined

  • Last visited

1 Follower

Roozbeh Aghabeighi's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. Hi Vekia, I use it but when i put Histats.com code into it, counter not work, my prestashop ver is 1.6.
  2. You can download it from: http://mypresta.eu/modules/front-office-features/html-box.html
  3. Great, I translate this module to persian. ;-) _____________________________________ Persian language is RTL ( right to left) and when i want use in my own language something are not right ( see pic below ). How i can solve this problem? _____________________________________ Thanks for sharing this module. fa.php
  4. Great, I translate this module to Persian. fa.php
  5. Hi, How, I can edit color and other properties of " Featured Products on the homepage " ? I want edit it and change direction of text to center or left. See the pic below. Thanks.
  6. Below is a description of optional parameters that cashU provides for Merchants to include any data related to the payment transaction and needed to be passed to the Return URL ( according to Cashu integration guide )
  7. For uninstall : public function uninstall() { if (!Configuration::deleteByName('merchant_id') OR !Configuration::deleteByName('amount') OR !Configuration::deleteByName('currency') OR !Configuration::deleteByName('language') OR !Configuration::deleteByName('display_text') OR !Configuration::deleteByName('txt1') OR !Configuration::deleteByName('token') OR !Configuration::deleteByName('test_mode') OR !parent::uninstall()) return false; return true; }
  8. According to Cashu integration guide we should fill : 1: merchant_id 2: amount 3: currency 4: language 5: display_text 6: txt1 7: token 8: test_mode so i think that output code can be : install : public function install() { if (!parent::install() OR !Configuration::updateValue('merchant_id') OR !Configuration::updateValue('amount') OR !Configuration::updateValue('currency') OR !Configuration::updateValue('language') OR !Configuration::updateValue('display_text') OR !Configuration::updateValue('txt1') OR !Configuration::updateValue('token') OR !Configuration::updateValue('test_mode', 1') OR !$this->registerHook('merchant_id') OR !$this->registerHook('amount') OR !$this->registerHook('currency') OR !$this->registerHook('language') OR !$this->registerHook('display_text') OR !$this->registerHook('txt1') OR !$this->registerHook('token') /* Accepted values are: “1” for the test mode and “0” for the live mode. */ OR !$this->registerHook('test_mode', 1') return false; return true; }
  9. For uninstall Paypal: public function uninstall() { if (!Configuration::deleteByName('PAYPAL_BUSINESS') OR !Configuration::deleteByName('PAYPAL_SANDBOX') OR !parent::uninstall()) return false; return true; } Protx : public function uninstall() { if (!Configuration::deleteByName('VSP_DIRECT_MODE') OR !Configuration::deleteByName('VSP_Validate_billing') OR !Configuration::deleteByName('VSP_DIRECT_CURRENCY') OR !Configuration::deleteByName('VSP_DIRECT_AVSCV2') OR !Configuration::deleteByName('VSP_DIRECT_ThreeDSecure') OR !Configuration::deleteByName('VSP_DIRECT_VENDOR_NAME') OR !Configuration::deleteByName('VSP_DIRECT_VENDOR_EMAIL') OR !Configuration::deleteByName('VSP_DIRECT_TXTYPE') OR !parent::uninstall()) return false; return true; }
  10. For install Paypal : public function install() { if (!parent::install() OR !Configuration::updateValue('PAYPAL_BUSINESS', '[email protected]') OR !Configuration::updateValue('PAYPAL_SANDBOX', 1) OR !$this->registerHook('payment') OR !$this->registerHook('paymentReturn')) return false; return true; } Protx : public function install() { if (!parent::install() OR !Configuration::updateValue('VSP_DIRECT_MODE', 'simulator') OR !Configuration::updateValue('VSP_Validate_billing', '0') OR !Configuration::updateValue('VSP_DIRECT_CURRENCY', 1) OR !Configuration::updateValue('VSP_DIRECT_AVSCV2', 1) OR !Configuration::updateValue('VSP_DIRECT_ThreeDSecure', 0) OR !Configuration::updateValue('VSP_DIRECT_VENDOR_NAME', 'test') OR !Configuration::updateValue('VSP_DIRECT_VENDOR_EMAIL', '[email protected]') OR !Configuration::updateValue('VSP_DIRECT_TXTYPE', 'PAYMENT') OR !$this->registerHook('payment') OR !$this->registerHook('paymentReturn')) return false; return true; }
  11. There is a " Oscommerce's " module for Cashu payment option. cashu.php
  12. Step by Step ;-) Step 1 : ( a part of paypal's module i edited it ) <?php class Cashu extends PaymentModule { private $_html = ''; private $_postErrors = array(); public function __construct() { $this->name = 'cashu'; $this->tab = 'Payment'; $this->version = '0.1'; $this->currencies = true; $this->currencies_mode = 'radio'; parent::__construct(); /* The parent construct is required for translations */ $this->page = basename(__FILE__, '.php'); $this->displayName = $this->l('Cashu'); $this->description = $this->l('Accepts payments by Cashu'); $this->confirmUninstall = $this->l('Are you sure you want to delete your details ?');
  13. Hi dears I need Cashu payment modul too. thanks.
  14. Hi I have installed horizontal menu 1.3 too , but how i can RTL ( Right to Left ) all contents of this module?
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More