Latest News: (loading..)

psleman

Members
  • Content count

    11
  • Joined

  • Last visited

About psleman

Profile Information

  • Real Name
    Paul Sleman

Recent Profile Visitors

603 profile views
  1. I also have an account using my gmail address and I tested the forget password function and I actually got the email to reset my password. So I am wondering if there is some sort of compatibility issue with Outlook not being able to receive the reset password email. Any thoughts welcome. Thank you.
  2. I have a problem with the forget password in that my users are not getting the email which prompts them to reset their password after they enter their email address. I tested it and it is not coming to my email at all not even to my spam/junk email folder. Any thoughts on this would be greatly appreciated. Thank you.
  3. Yes I have installed the module.
  4. I am not sure what you mean by installed it?
  5. Yes I have uploaded the files. I am wondering if there is something else I need to do to another file to actually get it to display on the website. Thank you very much for your assistance.
  6. Also: define('MODULE_ORDER_TOTAL_PAYPAL_TITLE', 'Paypal Fee'); define('MODULE_ORDER_TOTAL_PAYPAL_DESCRIPTION', 'Paypal Fee'); ?>
  7. Here is the code: class ot_paypal_fee { var $title, $output; function ot_paypal_fee() { $this->code = 'ot_paypal_fee'; $this->title = MODULE_ORDER_TOTAL_PAYPAL_TITLE; $this->description = MODULE_ORDER_TOTAL_PAYPAL_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_PAYPAL_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER; $this->output = array(); } function process() { global $order, $currencies, $paypal_fee; if (MODULE_ORDER_TOTAL_PAYPAL_STATUS == 'true') { //check if payment method is paypal. If yes, add fee. if ($GLOBALS['payment'] == 'paypal') { $paypal_fee = tep_round(((MODULE_ORDER_TOTAL_PAYPAL_FEE/100) * $order->info['total']), $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']); $order->info['total'] += $paypal_fee; $this->output[] = array('title' => $this->title . ' (' . MODULE_ORDER_TOTAL_PAYPAL_FEE . '%):', 'text' => $currencies->format($paypal_fee, true, $order->info['currency'], $order->info['currency_value']), 'value' => $paypal_fee); } } } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_ORDER_TOTAL_PAYPAL_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function keys() { return array('MODULE_ORDER_TOTAL_PAYPAL_STATUS', 'MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER', 'MODULE_ORDER_TOTAL_PAYPAL_FEE'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display PAYPAL FEE', 'MODULE_ORDER_TOTAL_PAYPAL_STATUS', 'true', 'Do you want this module to display?', '6', '1','tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER', '4', 'Sort order of display.', '6', '2', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('PAYPAL Fee (%)', 'MODULE_ORDER_TOTAL_PAYPAL_FEE', '1', 'Your PayPal fee in percent (%)', '6', '3', now())"); } function remove() { $keys = ''; $keys_array = $this->keys(); $keys_size = sizeof($keys_array); for ($i=0; $i<$keys_size; $i++) { $keys .= "'" . $keys_array[$i] . "',"; } $keys = substr($keys, 0, -1); tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in (" . $keys . ")"); } } ?>
  8. I am trying to display an PayPal Fee on my checkout confirmation page and I am having a hard time getting it to display. I have created an ot_paypal_fee.php file with the code below. Am I missing something? Thank you for your help. ot_paypal_fee.php ot_paypal_fee (2).php
  9. @@ArtcoInc I am currently using version v2.3.4.
  10. I am trying to figure out how to edit the footer on a page. I am new to OSCommerce and would appreciate some help. Thank you.