Latest News: (loading..)

EuroTech

Members
  • Content count

    112
  • Joined

  • Last visited

About EuroTech

Profile Information

  • Real Name
    Carlos
  1. I found the issue. Authorize.net 1.8 works great. the problem was on authorize.net side. they had one of there settings wrong with the proccessor configuration.
  2. I'm clicking confirm and it takes me back to the payment screen and i see this "Your credit card was declined (): "
  3. I installed authorize.net 1.8 in my store. under test mode card passes fine. under production i get a message saying my card has been declined. when i look in my authorize.net account it shows the order and a message saying general error. does anyone know what could be wrong?
  4. I just got this same issue for some reason. I just copied the files directly from the mod. This was a clean install and I the card names dont show.
  5. For some reason my authorize.net orders dont show when I want to check a cusotmers history out or when they want to check there orders. The order shows find under the pending orders. But when I click on a customers name and view there past orders it is 0. When the customer checks there history it is also blank. How can I fix this? Please help
  6. I'm getting the following error in my classes/shipping.php Fatal error: Call to undefined function: tep_get_configuration_key_value() in /home/fifthave/public_html/includes/classes/shipping.php on line 39 Here is my code: <?php /* $Id: shipping.php,v 1.23 2003/06/29 11:22:05 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ class shipping { var $modules; // class constructor function shipping($module = '') { global $language, $PHP_SELF, $cart; // BOF: Indv Shipping Prices//phpmom.com $products = $cart->get_products(); $shiptotal = $this->get_shiptotal(); $indvcount = $this->get_indvcount(); // EOF: Indv Shipping Prices if (defined('MODULE_SHIPPING_INSTALLED') && tep_not_null(MODULE_SHIPPING_INSTALLED)) { $this->modules = explode(';', MODULE_SHIPPING_INSTALLED); $include_modules = array(); if ( (tep_not_null($module)) && (in_array(substr($module['id'], 0, strpos($module['id'], '_')) . '.' . substr($PHP_SELF, (strrpos($PHP_SELF, '.')+1)), $this->modules)) ) { $include_modules[] = array('class' => substr($module['id'], 0, strpos($module['id'], '_')), 'file' => substr($module['id'], 0, strpos($module['id'], '_')) . '.' . substr($PHP_SELF, (strrpos($PHP_SELF, '.')+1))); } else { reset($this->modules); // BOF: PhpMom's Indv Shipping Prices // Show either normal shipping modules or Individual shipping module when Individual Shipping Module is On // Show Individual Shipping Only if($indvcount==sizeof($products)){ //hadir if ((tep_get_configuration_key_value('MODULE_SHIPPING_INDVSHIP_STATUS')) && ((tep_not_null($shiptotal)) || $shiptotal == 0)) { $include_modules[] = array('class'=> 'indvship', 'file' => 'indvship.php'); }} //START COMMENT IF YOU DO NOT HAVE FREE SHIPPING MODULE // BOF: WebMakers.com Added: Downloads Controller - Free Shipping and Payments // Show either normal shipping modules or free shipping module when Free Shipping Module is On // Free Shipping Only elseif ((tep_get_configuration_key_value('MODULE_SHIPPING_FREESHIPPER_STATUS')) && $cart->show_weight()==0 && ($shiptotal == '0' || !$shiptotal)) { $include_modules[] = array('class'=> 'freeshipper', 'file' => 'freeshipper.php'); //END COMMENT IF YOU DO NOT HAVE FREE SHIPPING MODULE // All Other Shipping Modules //} else { if(sizeof($products)>$indvcount){ //while (list(, $value) = each($this->modules)) { //try foreach is faster//hadir // $class = substr($value, 0, strrpos($value, '.')); // Don't show Free Shipping Module // if (($class !='freeshipper')/* && ($class != 'indvship')*/) { // $include_modules[] = array('class' => $class, 'file' => $value); } // } // } //}//COMMENT IF YOU DO NOT HAVE FREE SHIPPING MODULE and you commented above // EOF: Free Shipping and Payments// EOF: Indv Shipping Prices } for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) { include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']); include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']); $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; } } } function quote($method = '', $module = '') { global $total_weight, $shipping_weight, $shipping_quoted, $shipping_num_boxes; $quotes_array = array(); if (is_array($this->modules)) { $shipping_quoted = ''; $shipping_num_boxes = 1; $shipping_weight = $total_weight; if (SHIPPING_BOX_WEIGHT >= $shipping_weight*SHIPPING_BOX_PADDING/100) { $shipping_weight = $shipping_weight+SHIPPING_BOX_WEIGHT; } else { $shipping_weight = $shipping_weight + ($shipping_weight*SHIPPING_BOX_PADDING/100); } if ($shipping_weight > SHIPPING_MAX_WEIGHT) { // Split into many boxes $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); $shipping_weight = $shipping_weight/$shipping_num_boxes; } $include_quotes = array(); reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if (tep_not_null($module)) { if ( ($module == $class) && ($GLOBALS[$class]->enabled) ) { $include_quotes[] = $class; } } elseif ($GLOBALS[$class]->enabled) { $include_quotes[] = $class; } } $size = sizeof($include_quotes); for ($i=0; $i<$size; $i++) { $quotes = $GLOBALS[$include_quotes[$i]]->quote($method); if (is_array($quotes)) $quotes_array[] = $quotes; } } return $quotes_array; } //BOF Indv shipping modifications//Hadir@phpmom function get_shiptotal() { global $cart, $order; $this->shiptotal = ''; $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { // mod indvship//modified hadir if (tep_not_null($products[$i]['products_ship_price'])) { $products_ship_price = $products[$i]['products_ship_price']; $products_ship_price_two = $products[$i]['products_ship_price_two']; $products_ship_zip = $products[$i]['products_ship_zip']; $qty = $products[$i]['quantity']; if(tep_not_null($products_ship_price) ||tep_not_null($products_ship_price_two)){ $this->shiptotal += ($products_ship_price); if ($qty > 1) { if (tep_not_null($products_ship_price_two)) { $this->shiptotal += ($products_ship_price_two * ($qty-1)); } else { $this->shiptotal += ($products_ship_price * ($qty-1)); } }/////////////NOT HERE <<------------ } } }// CHECK TO SEE IF SHIPPING TO HOME COUNTRY, IF NOT INCREASE SHIPPING COSTS BY AMOUNT SET IN ADMIN/////////////move back here <<------------ if (($order->delivery['country']['id']) != INDIVIDUAL_SHIP_HOME_COUNTRY) { if(INDIVIDUAL_SHIP_INCREASE > '0' || $this->shiptotal > '0') $this->shiptotal *= INDIVIDUAL_SHIP_INCREASE; else $this->shiptotal += INDIVIDUAL_SHIP_INCREASE * $this->get_indvcount(); } return $this->shiptotal; } function get_indvcount() { global $cart; $this->indvcount = ''; $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { // mod indvship//modified hadir if (tep_not_null($products[$i]['products_ship_price'])) { $products_ship_price = $products[$i]['products_ship_price'];//} $products_ship_price_two = $products[$i]['products_ship_price_two']; if(is_numeric($products_ship_price)){ $this->indvcount += '1'; } } } return $this->indvcount; } //EOF Indv shipping mod//Hadir@phpmom function cheapest() { if (is_array($this->modules)) { $rates = array(); reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled) { $quotes = $GLOBALS[$class]->quotes; for ($i=0, $n=sizeof($quotes['methods']); $i<$n; $i++) { if (isset($quotes['methods'][$i]['cost']) && tep_not_null($quotes['methods'][$i]['cost'])) { $rates[] = array('id' => $quotes['id'] . '_' . $quotes['methods'][$i]['id'], 'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')', 'cost' => $quotes['methods'][$i]['cost']); } } } } $cheapest = false; for ($i=0, $n=sizeof($rates); $i<$n; $i++) { if (is_array($cheapest)) { if ($rates[$i]['cost'] < $cheapest['cost']) { $cheapest = $rates[$i]; } } else { $cheapest = $rates[$i]; } } return $cheapest; } } } ?>
  7. Can someone tell me the link I need to go to for ups website to register so I can use UPS for oscommerce. Thanks
  8. I use authorize.net on my site as well as paypal. so with the authorize.net it uses the billing address that was entered. when i install this mod and people go to checkout it will ask for an address?
  9. If I do this mod and I only collect the name, email and password at registration & when its time to checkout will the customer be prompted to enter the rest of the information?
  10. Im not using vouchers, only coupons. so when i enter the coupon and click reedeem it wants the cc info first. i type it in but it then erases it all.
  11. I too had this issue with the check out and cc info being redeemed. I moved the coupon up but it asks me to enter the cc info before I can redeem. How can I fix this?
  12. Can anyone tell me how to get this running right? For some reason when i enter in the code and click redeem it wants me to enter in credt card info first. once i do it it and click redeem it erases all cc info and i have to enter again. How can I fix this? Thanks
  13. i have read about it. i have tried all and nothing works.