Jump to content
Latest News: (loading..)

psleman

Members
  • Content count

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Paul Sleman

Recent Profile Visitors

713 profile views
  1. Hello Forum, On one of my companies sites the order notification email is not being sent to our customers as well as to the store owner email address. I think it has to do with the "checkout process" file. Below is the code that does not seem to be working. Any feedback will be welcome. Thank you. // by azad for converting \n to <br> //$email_order = str_replace("\n", "<br><br>", $email_order); $email_order = str_replace("United Parcel Service", "Shipping Information ", $email_order); //send email to customer tep_mail ($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->STORE_OWNER['email_address'], CONFIRMATION, ' ' , $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); //tep_mail("", "", EMAIL_TEXT_SUBJECT, $email_order, "", ""); //send email to store manager //tep_mail ($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->STORE_OWNER['email_address'], CONFIRMATION. ' ' , //$email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // send emails to other people (SEND_EXTRA_ORDER_EMAILS_TO != '') tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // load the after_process function from the payment modules $payment_modules->after_process(); $cart->reset(true);
  2. Forget password not working

    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.
  3. 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.
  4. Yes I have installed the module.
  5. I am not sure what you mean by installed it?
  6. 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.
  7. Also: define('MODULE_ORDER_TOTAL_PAYPAL_TITLE', 'Paypal Fee'); define('MODULE_ORDER_TOTAL_PAYPAL_DESCRIPTION', 'Paypal Fee'); ?>
  8. 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 . ")"); } } ?>
  9. 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
×