Jump to content

minghoo

Members
  • Content count

    106
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    sean wang
  • Website
  1. Hi sean,

    Add Fck Editor for Define Mainpage is ok for OScommonce 2.31?

    Dansino

  2. minghoo

    One Page Checkout Support

    After I reinstalled one page checkout, the "There was an error setting payment method" error is gone, but it still doesn;t work, it displays like this: and I narrow down below code need modifictions, function confirmation() { global $_REQUEST; // don't confirm if CreLoaded is not collecting the CC# if (!$this->quantum_gets_cc) { $x_Card_Code=$_REQUEST['quantumqgwdbe_cvv']; $confirmation = array('title' => $this->title . ': ' . $this->cc_card_type, 'fields' => array( array('title' => 'CVV number', 'field' => $_REQUEST['quantumqgwdbe_cvv']), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_OWNER, 'field' => $_REQUEST['quantumqgwdbe_cc_owner']), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_NUMBER, 'field' => substr($this->cc_card_number, 0, 4) . str_repeat('X', (strlen($this->cc_card_number) - 8)) . substr($this->cc_card_number, -4)), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_EXPIRES, 'field' => strftime('%B, %Y', mktime(0,0,0,$_REQUEST['quantumqgwdbe_cc_expires_month'], 1, '20' . $_REQUEST['quantumqgwdbe_cc_expires_year']))))); } else { $confirmation = ''; } return $confirmation; }
  3. minghoo

    One Page Checkout Support

    Hi steve, Thanks for this great contribution, I use Quantum Payment gateway, but it seems need a little modifictions to work with one page checkout. it shows "There was an error setting payment method" when select quantum payment. below is the quantum payment gateway code, <?php /* $Id: quantumqgwdbe.php,v 1.40 2007/06/13 18:23:14 dgw_ Exp $ Released under the GNU General Public License quantumqgwdbe.php was developed for QuantumGateway https://www.quantumgateway.com by Jerry Brown Project Development CDGcommerce */ class quantumqgwdbe { var $code, $title, $description, $enabled; // class constructor function quantumqgwdbe () { global $order; $this->code = 'quantumqgwdbe'; $this->title = MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_TITLE; $this->description = MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_DESCRIPTION; $this->enabled = ((MODULE_PAYMENT_QUANTUMQGWDBE_STATUS == 'True') ? true : false); $this->sort_order = MODULE_PAYMENT_QUANTUMQGWDBE_SORT_ORDER; if ((int)MODULE_PAYMENT_QUANTUMQGWDBE_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_QUANTUMQGWDBE_ORDER_STATUS_ID; } ################################################# ################################################# $this->quantum_gets_cc = ((MODULE_PAYMENT_QUANTUMQGWDBE_CC == 'True') ? true : false); $this->uses_cvv = ((MODULE_PAYMENT_QUANTUMQGWDBE_USESCVV == 'Y') ? true : false); $this->logo_url = MODULE_PAYMENT_QUANTUMQGWDBE_LOGO_URL; $this->bck_color = MODULE_PAYMENT_QUANTUMQGWDBE_BCK_COLOR; $this->text_color = MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_COLOR; $this->form_action_url = 'https://secure.quantumgateway.com/cgi/qgwdbe.php'; $this->cvvtype[] = array('id' => '2', 'text' => 'CVV on card is unreadable'); $this->cvvtype[] = array('id' => '9', 'text' => 'Card does not have CVV imprint'); if (is_object($order)) $this->update_status(); } function update_status() { global $order; } // class methods function javascript_validation() { // if quatnumgateway is collecting the CC#, then CreLoaded does not // allow the user to enter CC#, therefore we do not need to validate it if (!$this->quantum_gets_cc) { $js = ' if (payment_value == "' . $this->code . '") {' . "\n" . ' var cc_owner = document.checkout_payment.quatnumgateway_cc_owner.value;' . "\n" . ' var cc_number = document.checkout_payment.quantumqgwdbe_cc_number.value;' . "\n" . ' if (cc_owner == "" || cc_owner.length < ' . CC_OWNER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_JS_CC_OWNER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' if (cc_number == "" || cc_number.length < ' . CC_NUMBER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_JS_CC_NUMBER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' }' . "\n"; } else { $js = ''; } return $js; } function selection() { global $order; for ($i=1; $i<13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); } $today = getdate(); for ($i=$today['year']; $i < $today['year']+10; $i++) { $expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i))); } // Depending on whether CreLoaded is collecting the CC# or not. If // CreLoaded is collecting then we must allow the user to enter it, // here we output the form fields to collect the cc# if (!$this->quantum_gets_cc) { $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array( array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('quantumqgwdbe_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_NUMBER, 'field' => tep_draw_input_field('quantumqgwdbe_cc_number')), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('quantumqgwdbe_cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('quantumqgwdbe_cc_expires_year', $expires_year)) )); if ($this->uses_cvv) { array_push($selection['fields'], array('title' => 'CVV number ' . ' ' .'<a href="cvv.html" target="_blank">' . '<u><i>' . '(What is it?)' . '</i></u></a>', 'field' => tep_draw_input_field('quantumqgwdbe_cvv','',"SIZE=4, MAXLENGTH=4")), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_NOT_CVV, 'field' => tep_draw_checkbox_field('quantumqgwdbe_notcvv', '1')), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_REASON_NOT_CVV, 'field' => tep_draw_pull_down_menu('quantumqgwdbe_cvvtype', $this->cvvtype, '2')) ); } } else { $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => 'Continue', 'field' => tep_draw_hidden_field('quantumqgwdbe_cc_owner', '')))); } return $selection; } function pre_confirmation_check() { global $_REQUEST; // We don't confirm if CreLoaded is not collecting the CC# if (!$this->quantum_gets_cc) { include(DIR_WS_CLASSES . 'cc_validation.php'); $cc_validation = new cc_validation(); $result = $cc_validation->validate($_REQUEST['quantumqgwdbe_cc_number'], $_REQUEST['quantumqgwdbe_cc_expires_month'], $_REQUEST['quantumqgwdbe_cc_expires_year']); $error = ''; switch ($result) { case -1: $error = sprintf(TEXT_CCVAL_ERROR_UNKNOWN_CARD, substr($cc_validation->cc_number, 0, 4)); break; case -2: case -3: case -4: $error = TEXT_CCVAL_ERROR_INVALID_DATE; break; case false: $error = TEXT_CCVAL_ERROR_INVALID_NUMBER; $result = true; break; } if ( ($result == false) || ($result < 1) ) { $payment_error_return = 'payment_error=' . $this->code . '&error=' . urlencode($error) . '&quantumqgwdbe_cc_owner=' . urlencode($_REQUEST['quantumqgwdbe_cc_owner']) . '&quantumqgwdbe_cc_expires_month=' . $_REQUEST['quantumqgwdbe_cc_expires_month'] . '&quantumqgwdbe_cc_expires_year=' . $_REQUEST['quantumqgwdbe_cc_expires_year']; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, $payment_error_return, 'SSL', true, false)); } $this->cc_card_type = $cc_validation->cc_type; $this->cc_card_number = $cc_validation->cc_number; $this->cc_expiry_month = $cc_validation->cc_expiry_month; $this->cc_expiry_year = $cc_validation->cc_expiry_year; $x_Card_Code = $_REQUEST['quantumqgwdbe_cvv']; } } function confirmation() { global $_REQUEST; // don't confirm if CreLoaded is not collecting the CC# if (!$this->quantum_gets_cc) { $x_Card_Code=$_REQUEST['quantumqgwdbe_cvv']; $confirmation = array('title' => $this->title . ': ' . $this->cc_card_type, 'fields' => array( array('title' => 'CVV number', 'field' => $_REQUEST['quantumqgwdbe_cvv']), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_OWNER, 'field' => $_REQUEST['quantumqgwdbe_cc_owner']), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_NUMBER, 'field' => substr($this->cc_card_number, 0, 4) . str_repeat('X', (strlen($this->cc_card_number) - 8)) . substr($this->cc_card_number, -4)), array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_CREDIT_CARD_EXPIRES, 'field' => strftime('%B, %Y', mktime(0,0,0,$_REQUEST['quantumqgwdbe_cc_expires_month'], 1, '20' . $_REQUEST['quantumqgwdbe_cc_expires_year']))))); } else { $confirmation = ''; } return $confirmation; } function process_button() { global $_REQUEST, $order, $customer_id; $process_button_string = tep_draw_hidden_field ('gwlogin', MODULE_PAYMENT_QUANTUMQGWDBE_LOGIN); //tep_draw_hidden_field ('Redirect', '0'); // if CreLoaded collected the CC# then send it on to eProc if (!$this->quantum_gets_cc) { if ($this->uses_cvv) { if ((isset($_REQUEST['quantumqgwdbe_notcvv'])) && ($_REQUEST['quantumqgwdbe_notcvv'] == "1")) { if (($_REQUEST['quantumqgwdbe_cvvtype'] != "2") && ($_REQUEST['quantumqgwdbe_cvvtype'] != "9")) { $process_button_string .= tep_draw_hidden_field('CVV2', $_REQUEST['quantumqgwdbe_cvv']) . tep_draw_hidden_field('CVVtype', '1'); } else { $process_button_string .= tep_draw_hidden_field('CVVtype', $_REQUEST['quantumqgwdbe_cvvtype']); } } else { $process_button_string .= tep_draw_hidden_field('CVVtype', '1') . tep_draw_hidden_field('CVV2', $_REQUEST['quantumqgwdbe_cvv']); } } else { $process_button_string .= tep_draw_hidden_field('CVVtype', '0'); } $process_button_string .= tep_draw_hidden_field ('ccnum', $this->cc_card_number) . tep_draw_hidden_field('ccmo', $this->cc_expiry_month). tep_draw_hidden_field('ccyr', substr($this->cc_expiry_year, -2)); } $process_button_string .= tep_draw_hidden_field('amount', number_format($order->info['total'],2,".","")) . tep_draw_hidden_field('ID', tep_session_id ()) . tep_draw_hidden_field('override_email_customer', ((MODULE_PAYMENT_QUANTUMQGWDBE_EMAIL_CUSTOMER == 'True') ? 'Y': 'N')); if (MODULE_PAYMENT_QUANTUMQGWDBE_TXNKEY2 == "Y") { $process_button_string .= tep_draw_hidden_field ('RestrictKey', MODULE_PAYMENT_QUANTUMQGWDBE_TXNKEY); } $process_button_string .= tep_draw_hidden_field('MAXMIND', ((MODULE_PAYMENT_QUANTUMQGWDBE_MAXMIND == 'Y') ? 'Y': 'N')) . tep_draw_hidden_field ('company_logo', MODULE_PAYMENT_QUANTUMQGWDBE_LOGO_URL) . tep_draw_hidden_field ('bg_color', MODULE_PAYMENT_QUANTUMQGWDBE_BCK_COLOR) . tep_draw_hidden_field ('txt_color', MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_COLOR) . tep_draw_hidden_field('FNAME', $order->billing['firstname']) . tep_draw_hidden_field('LNAME', $order->billing['lastname']) . tep_draw_hidden_field('BADDR1', $order->billing['street_address']) . tep_draw_hidden_field('BCITY', $order->billing['city']) . tep_draw_hidden_field('BSTATE', $order->billing['state']) . tep_draw_hidden_field('BZIP1', $order->billing['postcode']) . tep_draw_hidden_field('BCOUNTRY', $order->billing['country']['title']) . tep_draw_hidden_field('PHONE', $order->customer['telephone']) . tep_draw_hidden_field('BCUST_EMAIL', $order->customer['email_address']) . tep_draw_hidden_field('returning_visit', 'N') . tep_draw_hidden_field('ResponseMethod', 'GET') . tep_draw_hidden_field('post_return_url_approved', tep_href_link(FILENAME_CHECKOUT_PROCESS, '','SSL', true)) . tep_draw_hidden_field('post_return_url_declined', tep_href_link(FILENAME_CHECKOUT_PROCESS, 'payment_error=' . $this->code . '&quantumqgwdbe_cc_owner=' . urlencode($_REQUEST['quantumqgwdbe_cc_owner']), 'SSL', true)); // now take care of some cosmetic issues $process_button_string .= tep_draw_hidden_field(tep_session_name(),tep_session_id()); return $process_button_string; } function before_process() { global $messageStack, $insert_id, $_REQUEST; $auth_response = $_REQUEST['auth_response']; $id = $_REQUEST['ID']; $session_name = tep_session_name (); $approved = (($_REQUEST['trans_result'] == "APPROVED") ? "1" : "0"); if ($approved == "0") { $comments = $_REQUEST['decline_reason']; // alert to customer: $payment_error_return = 'payment_error=' . $this->code . '&error=' . urlencode($comments); //$messageStack->tep_session_register('checkout_payment', MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_ERROR_MESSAGE, 'caution'); tep_db_query("UPDATE " . TABLE_ORDERS_STATUS_HISTORY . " SET comments= 'Credit Card payment. " . $comments . " " . $this->cc_card_type . " AUTH: " . $_REQUEST['authCode'] . ". TransID: " . $_REQUEST['transID'] . ".', date_added=now() WHERE orders_id = '" . (int)$insert_id . "'"); tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, $payment_error_return, 'SSL', true, false)); } } function after_process() { return false; } function get_error() { global $_GET; $error = array('title' => MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_ERROR, 'error' => stripslashes(urldecode($_GET['error']))); return $error; } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_QUANTUMQGWDBE_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } 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 ('Enable QuantumGateway Module', 'MODULE_PAYMENT_QUANTUMQGWDBE_STATUS', 'True', 'Do you want to accept QuantumGateway payments?', '6', '0', '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 ('Login Username', 'MODULE_PAYMENT_QUANTUMQGWDBE_LOGIN', 'testing', 'The login username used for the QuantumGateway service', '6', '1', now())"); 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 ('Enable QuantumGateway To Collect CC#', 'MODULE_PAYMENT_QUANTUMQGWDBE_CC', 'False', 'Do you want QuantumGateway to Collect the Credit Card Number??', '6', '2', '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, set_function, date_added) values ('Customer Notifications', 'MODULE_PAYMENT_QUANTUMQGWDBE_EMAIL_CUSTOMER', 'False', 'Should Quatnumgateway e-mail a receipt to the customer?', '6', '3', '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, set_function, date_added) values ('Restrict Key', 'MODULE_PAYMENT_QUANTUMQGWDBE_TXNKEY2', 'N', 'Enable Restriction Key?', '6', '4', 'tep_cfg_select_option(array(\'Y\', \'N\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Restriction Key', 'MODULE_PAYMENT_QUANTUMQGWDBE_TXNKEY', '', 'Restriction Key used for restricting processing without key. Note: You must have this enabled in your Quantumgateway Processing Config.', '6', '5', now())"); 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 ('Maxmind Fraud Control', 'MODULE_PAYMENT_QUANTUMQGWDBE_MAXMIND', 'Y', 'Enable?', '6', '6', 'tep_cfg_select_option(array(\'Y\', \'N\'), ', now())"); 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 ('Capture CVV2', 'MODULE_PAYMENT_QUANTUMQGWDBE_USESCVV', 'Y', 'Does user must type CVV code?.', '6', '7','tep_cfg_select_option(array(\'Y\', \'N\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('URL for Store Logo', 'MODULE_PAYMENT_QUANTUMQGWDBE_LOGO_URL', '', 'The URL to a logo to be used by eProcessing to display during transactions', '6', '8', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Background Color', 'MODULE_PAYMENT_QUANTUMQGWDBE_BCK_COLOR', '#FFFFFF', 'The Background Color in Hex format:', '6', '9', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Text Color', 'MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_COLOR', '#000000', 'The Color of the Text in Hex format:', '6', '10', 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 of display.', 'MODULE_PAYMENT_QUANTUMQGWDBE_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_PAYMENT_QUANTUMQGWDBE_STATUS', 'MODULE_PAYMENT_QUANTUMQGWDBE_LOGIN', 'MODULE_PAYMENT_QUANTUMQGWDBE_CC', 'MODULE_PAYMENT_QUANTUMQGWDBE_TXNKEY2', 'MODULE_PAYMENT_QUANTUMQGWDBE_TXNKEY', 'MODULE_PAYMENT_QUANTUMQGWDBE_EMAIL_CUSTOMER', 'MODULE_PAYMENT_QUANTUMQGWDBE_LOGO_URL', 'MODULE_PAYMENT_QUANTUMQGWDBE_BCK_COLOR', 'MODULE_PAYMENT_QUANTUMQGWDBE_TEXT_COLOR', 'MODULE_PAYMENT_QUANTUMQGWDBE_MAXMIND', 'MODULE_PAYMENT_QUANTUMQGWDBE_USESCVV', 'MODULE_PAYMENT_QUANTUMQGWDBE_SORT_ORDER' ); } } ?> Thanks Sean
  4. minghoo

    Featured Product Support v1.5.4

    To fix set "Include Sub Categories When Displaying Featured Products value" to false nothing changed include/modules/featured.php fine this code: $catIdSql = implode(', ', $cats); } else { $catIdSql = $featured_products_category_id_list; replace with this; $catIdSql = $featured_products_category_id_list; } else { $catIdSql = $new_products_category_id; Sean
  5. minghoo

    Featured Product Support v1.5.4

    i have the same problem, i think here is the code: if ( defined('FEATURED_PRODUCTS_SUB_CATEGORIES') AND FEATURED_PRODUCTS_SUB_CATEGORIES == 'true' ) { // current catID as starting value $cats[] = $new_products_category_id; // put cat-IDs of all cats nested in current branch into $cats array, // go through all subbranches for($i=0; $i<count($cats); $i++) { $categorie_query = tep_db_query('SELECT `categories_id` FROM ' . TABLE_CATEGORIES . " WHERE parent_id = '" . (int)$cats[$i] . "'"); while ($categorie = tep_db_fetch_array($categorie_query)) { $cats[] = $categorie['categories_id']; } // sort out doubles $cats = array_unique($cats); } $catIdSql = implode(', ', $cats); } else { $catIdSql = $featured_products_category_id_list; }
  6. minghoo

    NEW! Complete Order Editing Tool!

    for those who have this problem: Fatal error: Call to undefined function tep_add_base_ref() in C:\wamp\www\admin\edit_orders_ajax.php on line 1144 add below code to admin/include/function/general.php before closing tag ?> function tep_add_base_ref($string) { $i = 0; $output = ''; $n=strlen($string); for ($i=0; $i<$n; $i++) { $char = substr($string, $i, 1); $char5 = substr($string, $i, 5); if ($char5 == 'src="' ) {$output .= 'src="' . HTTP_SERVER; $i = $i+4;} else { $output .= $char; } } return $output; } sean
  7. minghoo

    Enable PayPal Express Checkout, quick question

    the instruction( http://svn.oscommerc...ommerce?cs=1699 ) is no longer existed for manual installation, does anyone still have a copy want to share? Thanks a lot! sean
  8. [Contribuition] Add FCKeditor for Define Mainpage http://addons.oscommerce.com/info/6735 This is for people who already installed FCKeditor. Sean
  9. minghoo

    Multiple zone based Flat Rates?

    this kind of shipping contri. which i have been waiting for a while. until now, i haven't find anything like this. but i have an idea, it has 3 zones options, 1st zone for US 2rd zone for Canada 3rd zone for rest of world so all you need to file shipping zones using coutry code like US, CA and each zone have 2 shipping options: standard shipping express shipping for example, for US standard shipping via USPS $4.10, and express will be $14.00 for canada, standard will be $5.00, and express will be 17.00 for rest of world, standard wiil be 6.00, and express will be $20.00 so when customer register and choose shipping address, this shipping contr. will pick up the contry code and match the shipping option, and it shows up the shipping cost. i think that is what we need for flat rate, or we can extend a little bit by table rates. sean
  10. minghoo

    Automatically send data feed to Froogle

    Hi Dave, Would you mind posting your shopping.com feed code? so we can woke on it together. Thanks sean
  11. minghoo

    Automatically send data feed to Froogle

    that is great. Thanks for taking time. my another conern is shopping.com, registered already. However, haven't got chance to get a working one. sean
  12. Hi guys, i want to create a register text link and links to create_account.php, I want this text link only show up when customer is NOT login, how can i do this? i noticed the log off text link: <?php if (tep_session_is_registered('customer_id')) { ?> <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_LOGOFF; ?></a> but this text link only show up when customer is login and become invisible to guest, and what i want is opposite to this logoff text link. Thanks a lot. sean
  13. minghoo

    General error with authorize.net 1.8

    Hi, you may try install this one instead: http://www.oscommerce.com/community/contri...earch,authorize and try it again.
  14. minghoo

    Authorize.net - adding images after fields......

    Change http://www.mydomain.com/images/lock.gif to images/lock.gif
  15. minghoo

    CDGCommerce Multiple Duplicate Orders

    what is CDGCommerce payment module? your mean authorize payment module? i use cdgcommerce, haven't experience any problems yet.
×