Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rkoechel2004

Archived
  • Posts

    113
  • Joined

  • Last visited

Everything posted by rkoechel2004

  1. Anyone using this in combination with google checkout I'm getting the below error on shopping_cart.php Fatal error: Cannot redeclare class fedex1 in /path/to/my/site.com/httpdocs/includes/modules/shipping/fedex1.php on line 15
  2. I can't seem to get the code on login.php working correctly with purchase without account. Does anyone have these two working together correctly? Thanks for any help
  3. I added the tax class to the freeamount contribution and it is now working with google checkout.
  4. I just uploaded to the contributions section a new free amount package that adds the tax class and works with google checkout. here is the link: http://addons.oscommerce.com/info/146 -Ryan
  5. I'm trying to get google checkout working with the freeamount contribution located here: http://addons.oscommerce.com/info/146 The problem is that google checkout doesn't work with shipping contributions when they don't have a tax class assigned to them. I'm wondering if someone can help me with the code to add an option to assign a tax class to freeamount? Thanks Ryan
  6. This contribution works great. I'm wondering if it would be possible to make it so only the first 4 or 5 subcategories are displayed followed by a link that says "more" or something similar and clicking that link takes you to the subcategory page showing all of our subcategories. This will make it look better visually when you have lots of subcategories. Backcountry.com has basically what I'm looking for.
  7. Follow the instructions in my post a couple post earlier and the paging will work fine for categories, I haven't found a solution for the products by manufacturer paging. Thanks
  8. I found this post on a different SEO thread and it works perfectly to fix the paging problem with category pages, can someone help me adapt it for manufacturer pages? QUOTE(yeahyeahyeah @ Aug 2 2005, 02:41 PM) is there a way to incorporate ?page= into the URL when paginating a category's products? if this has already been addressed and i missed it, can someone point out where? thanks! i jury rigged a fix. i'm thinking this can be done in the seo class, but i did it in includes/classes/split_page_results.php if the other class is a better way, any help working this is appreciated. i replaced var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page, $page_name; with var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page, $page_name, $dummy; then if (isset($HTTP_GET_VARS[$page_holder])) { $page = $HTTP_GET_VARS[$page_holder]; } elseif (isset($HTTP_POST_VARS[$page_holder])) { $page = $HTTP_POST_VARS[$page_holder]; } else { $page = ''; } with preg_match("/(-c-).*\.html/",$_SERVER['REQUEST_URI'],$this->dummy); if($this->dummy[1]!=NULL) {//yeahyeahyeah. if we're on a category page do this preg_match("/-pp-(\d*)\.html/",$_SERVER['REQUEST_URI'],$matches); $page = $matches[1]; } else {//any other page with splits if (isset($HTTP_GET_VARS[$page_holder])) { $page = $HTTP_GET_VARS[$page_holder]; } elseif (isset($HTTP_POST_VARS[$page_holder])) { $page = $HTTP_POST_VARS[$page_holder]; } else { $page = ''; } } then return $display_links_string; with if($this->dummy[1]!=NULL)//yeahyeahyeah. if we're on a category page do this $display_links_string=preg_replace("/(-pp-\d*)?\.html\?page=(\d*)/","-pp-$2.html",$display_links_string);//attempt to rewrite using regex return $display_links_string; category page pagination will now look like baby-burp-cloths-ribbon-only-c-21_37-pp-2.html instead of baby-burp-cloths-ribbon-only-c-21_37.html?page=2
  9. I found this post on a different SEO thread and it works perfectly to fix the paging problem with category pages, can someone help me adapt it for manufacturer pages? QUOTE(yeahyeahyeah @ Aug 2 2005, 02:41 PM) is there a way to incorporate ?page= into the URL when paginating a category's products? if this has already been addressed and i missed it, can someone point out where? thanks! i jury rigged a fix. i'm thinking this can be done in the seo class, but i did it in includes/classes/split_page_results.php if the other class is a better way, any help working this is appreciated. i replaced var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page, $page_name; with var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page, $page_name, $dummy; then if (isset($HTTP_GET_VARS[$page_holder])) { $page = $HTTP_GET_VARS[$page_holder]; } elseif (isset($HTTP_POST_VARS[$page_holder])) { $page = $HTTP_POST_VARS[$page_holder]; } else { $page = ''; } with preg_match("/(-c-).*\.html/",$_SERVER['REQUEST_URI'],$this->dummy); if($this->dummy[1]!=NULL) {//yeahyeahyeah. if we're on a category page do this preg_match("/-pp-(\d*)\.html/",$_SERVER['REQUEST_URI'],$matches); $page = $matches[1]; } else {//any other page with splits if (isset($HTTP_GET_VARS[$page_holder])) { $page = $HTTP_GET_VARS[$page_holder]; } elseif (isset($HTTP_POST_VARS[$page_holder])) { $page = $HTTP_POST_VARS[$page_holder]; } else { $page = ''; } } then return $display_links_string; with if($this->dummy[1]!=NULL)//yeahyeahyeah. if we're on a category page do this $display_links_string=preg_replace("/(-pp-\d*)?\.html\?page=(\d*)/","-pp-$2.html",$display_links_string);//attempt to rewrite using regex return $display_links_string; category page pagination will now look like baby-burp-cloths-ribbon-only-c-21_37-pp-2.html instead of baby-burp-cloths-ribbon-only-c-21_37.html?page=2
  10. Does anyone know of a way to use this contribution and limit which users have access to which areas of the administration panel? Thanks Ryan
  11. Has anyone tried to implement a charge or void button in the admin panel to capture transactions that were only authorized? This feature would really make our order fulfillment process much more efficient. -Ryan
  12. I was using a stock 2.0 install. I just updated to 2.2.1 to see if that fixed the problem and it didn't. But the stock 2.2.1 still gives me the option of selecting a state. -Ryan
  13. After getting the first estimate the post code box is empty and the state goes back to "Please Select"
  14. So I've read this whole thread and have tried different fixes but can't seem to find a solution to my problem. When a user is logged in this contribution works flawless. When not logged in a user can get shipping estimates but when you click on a shipping method to have it applied to the order total estimate the page reloads and the state and zipcode information that the customer enter is gone and they have to start over. Any help would be appreciated. Ryan
  15. I found the problem. Php safe mode needs to be off I'm back in business Thanks for your ideas -Ryan
  16. The cert was issued with the www. I know cURL is compiled as my php info shows that. How would I go about telling this script exactly where to find cURL? -Ryan
  17. Just ran the following script: <? function ssl_connect($url,$variables=0,$parse_variables=0,$test=0,$timeout=30,$no_headers=0){ global $SC; define(UMURL,$url); define(UMTIMEOUT,$timeout); // check for presence of CURL if (!function_exists("curl_init")){ // only display CURL error message if it hasn't been displayed before if (!$SC['no_curl']) print "\n Error: cURL is not enabled on your web server."; $SC['no_curl'] = 1; return; } // if URL has https in it, check for presence of OpenSSL $ch = curl_init(UMURL); // set some options for the connection curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch,CURLOPT_TIMEOUT,UMTIMEOUT); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); // This is the line that should fix secure cURL requests. Uncomment this line if secure cURL requests fail // curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // run the transfer $result=curl_exec ($ch); if(curl_errno($ch) > 0) echo "<p style='color: red'><b>cURL ERROR#".curl_errno($ch).": ".curl_error($ch)." at ".__LINE__." in ".__FILE__."</b></p>"; curl_close ($ch); return $result; } print "<html><head><title>CURL Test Page</title></head><body style=\"font-family: verdana, helvetica, tahoma; font-size: 12pt\"><b>cURL Test Page</b><br><br>To test a regular HTTP connection via curl to http://www.ebay.com, <br> <a href=\"?method=normal\">click here</a><br><br> "; print "To test a secure HTTPS (SSL) connection via curl to https://adwords.google.com/select/Login <br> <a href=\"?method=secure\">click here</a><br>"; if ($HTTP_GET_VARS['method']) { print "<br><b>If a page is displayed below, the test worked. Do not worry about broken image tags. As long as you have some output from the page below the test is valid:</b><hr width=\"100%\" height=\"2\"><br><br>"; if ($HTTP_GET_VARS['method'] == "normal") $page = "http://www.ebay.com"; if ($HTTP_GET_VARS['method'] == "secure") $page = "https://adwords.google.com/select/Login"; $page_data = ssl_connect($page); print $page_data; } print "</body></html>"; ?> and got this response: cURL ERROR#60: error setting certificate verify locations: CAfile: /usr/home/builder/pb_work_dir/psa_aiconfig_8.0.0/psa/lib/dist/share/curl/curl-ca-bundle.crt CApath: none at 28 in /usr/local/psa/home/vhosts/my_site.com/httpdocs/curl.php any ideas?
  18. Here is my config file contents: // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.********.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.******.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.*****.com'); define('HTTPS_COOKIE_DOMAIN', 'www.*****.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  19. I had this contribution working on my previous shared server. I've now moved to a dedicated server and with the contribution installed get the error: This transaction cannot be accepted. - Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance I've read this whole thread and tried curl fixes, and other suggested fixes and haven't been able to find one that works. I have SSL enabled and curl compiled. Any ideas? Thanks Ryan
  20. First of all, nice work with the contribution installs easily. My only question is I had been using the below method in my admin header to control employee access to admin areas: if ($messageStack->size > 0) { echo $messageStack->output(); } if ($_SERVER[REMOTE_USER]==admin) {; } else { if ( ($PHP_SELF != DIR_WS_ADMIN . "orders.php") && ($PHP_SELF != DIR_WS_ADMIN . "invoice.php") && ($PHP_SELF != DIR_WS_ADMIN . "packing_slip.php") && ($PHP_SELF != DIR_WS_ADMIN . "edit_orders.php") && ($PHP_SELF != DIR_WS_ADMIN . "track_fedex.php") && ($PHP_SELF != DIR_WS_ADMIN . "ship_fedex.php") && ($PHP_SELF != DIR_WS_ADMIN . "fedex_popup.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_products_purchased.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_customer.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_sales.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_customers.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_products_viewed.php") && ($PHP_SELF != DIR_WS_ADMIN . "shipping_manifest.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_recover_cart_sales.php") && ($PHP_SELF != DIR_WS_ADMIN . "whos_online.php") && ($PHP_SELF != DIR_WS_ADMIN . "stats_monthly_sales.php") && ($PHP_SELF != DIR_WS_ADMIN . "customers.php") ) { die("<br><br><center>You are not authorized to view this page.\n\n</center>"); } } ?> What do I need to change now to get this functioning again? as it doesn't seem to work with this contrib installed.
  21. Search the contributions for airborne express, its the same as DHL
  22. Great Contribution...works flawlessly Thanks -Ryan
  23. Chris- Thanks for posting this in here, I was just about to dive into coding something similar to this. You saved me a ton of time. -Ryan
  24. I've been using this contrib for a couple days now. It works great and uses authnet AIM. authorizenet aim contrib
×
×
  • Create New...