Jump to content

hodja451

Members
  • Content count

    98
  • Joined

  • Last visited

Everything posted by hodja451

  1. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Blue Coral, thanks for coming back and posting your solution. I don't have this problem, but I wish everyone would return to post their solutions.
  2. Q:How can I prevent Easy populate from overwriting one item from a previous one? A:Respect the index field. In order to tell different products apart, there needs to be one column with unique values (index field?). That column is v_products_model. You have chosen for v_products_model to be your part number, but your part numbers are NOT unique. Bad choice. You can as you suggest add a letter to the model that would work, or you can just 1)Read the comments surfalot wrote at the top of easypopulate.php 2)Rename your part number column (v_products_model) to v_products_part 3)Add v_products_part to easypopulate.php in the appropriate spots. 4)Add a products_part column to your online database, in the appropriate spot. 4)Add a new column to your excel sheet for the new v_products_model 5)Give each v_products_model line a unique value. 1, 2, 3, 4 should work fine. 6)Alter the display to reflect the new v_products_part instead of v_products_model. If that makes sense, pause to consider how you will easily differentiate whether the customer bought part 1 from Manufacturer A, B, or C. Like Mfg A has models 10000 to 19999 Mfg B has models 20000 to 29999 Mfg C has models 30000 to 39999 If it even matters.
  3. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    https://checkout.google.com/sell/settings?section=TaxSetup
  4. EZ Populate and Easy Populate seem to be 2 different things. When I googled EZ populate, it only returned Zen results. Is it possible you put a Zen add on into OSc and it doesn't like that?
  5. I don't know., I have osCommerce and Easy Populate It sounds like you have zen cart and Ez Populate Maybe you're in the wrong forum? Catalog Categories/Products Products Attributes Easy Populate Manufacturers Reviews Specials Products Expected
  6. It's not in tools, it's in Catalog.
  7. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Should be v1.5.0, and I think you're supposed to get it from Google.
  8. if you read through the settings at the top of the easypopulate.php file (as the docs asked you to do tongue.gif ), you will find a section dedicated to custom fields for the products and products_description table. And it's easy to understand. Nice job Surfalot.
  9. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    I took the First Class line from merchant_calculated_methods.php and inserted into carrier_calculated_methods.php, and as promised, the sandbox rejected the entire thing because it has an invalid shipping method.
  10. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    First Class is definitely for products or merchandise. From USPS: Postcards, letters, large envelopes (flats) and small packages can be sent using First-Class Mail®. This service, along with Priority Mail and Express Mail, is ideal for sending personal correspondence, handwritten or typewritten letters, and bills or statements of account. It may also be used for advertisements and lightweight merchandise. Also, First Class appears as an option in the Merchant Calculated Shipping Configuration, although I can not get Merchant Calculated Shipping to work at all.
  11. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    I see now Carrier Calculated Shipping does not include First-Class USPS. I traced the missing code down in carrier_calculated_methods.php, there is a comment line in the array where first class should be. I was going to add it to the array, but the documentation lists the valid methods and it is missing there as well, with a warning not to create others. I could find no mention, even in these forums, of anyone even mentioning that you can't use USPS First class with Carrier Calculated Shipping. Seems odd.
  12. hodja451

    google checkout looping

    Well, looking for a solution, I believe there isn't one. I think this enforces GoogleCheckouts terms of service. I had this scenario: A- Shop, add to cart, click checkout, choose GoogleCheckout at login screen, go to GoogleCheckout. B- Login or create your account on my site, shop, add to cart, click checkout, GoogleCheckout not an option. C- Shop, add to cart, click checkout, Login or create your account on my site, GoogleCheckout not an option. In checkout_payment.php, I commented out the addition that starts with: *** BEGIN GOOGLE CHECKOUT *** Skips Google Checkout as a payment option on the payments page since that option is provided in the checkout page. This caused: D- Login or create your account on my site, shop, add to cart, click checkout, Choose GoogleCheckout, loop back to cart. E- Shop, add to cart, click checkout, Login or create your account on my site, Choose GoogleCheckout, loop back to cart. Conclusion: I remember reading somewhere in their terms, that if you use GoogleCheckout, you are not allowed to cause a customer to log in twice. So the way they set their module up, if a customer is logged in, they are not allowed to use GoogleCheckout. Absurd corporate strategy. I suppose I would have to add a warning message to the login page: If you intend to pay by Googlecheckout, Googlecheckout will not allow websites to force customers to login twice, therefore if you login to my site, you will not be allowed to use GoogleCheckout. You can't put that on your site! So you have to not mention it. Then, a Google customer comes along, sets up an account, scratches his head, and pays with Paypal. Absurd corporate strategy. Walter
  13. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Damn, I'm back. So, I'm setting up the shipping. Pre-Google: I have a fully functional site. I only ship USPS, I have the USPS module installed, I have a USPS account. When you checkout, you can choose First Class or Priority and it tells you an accurate price for each. It is awesome, adds the weights and quotes accurately every time. I add Google, and decide to go with Merchant Calculated Shipping because this merchant seems to calculate his own shipping well, thank you anyway Google. In the Google Checkout Module Dashboard, logic dictates I uncheck Enable Carrier Calculated Shipping and in Carrier Calculated Shipping Configuration, I set the defaults to 0 to disable the method entirely. Now I see no checkbox for Enable Merchant Calculated Shipping, so I guess default is enabled if Carrier Calculated Shipping is off. I place an order and try to pay the sandbox and the Shipping & Handling dropdown has the options with $0 while it thinks, then the options disappear and in the ship to box, above my google-filled address, it says You do not currently have any valid shipping methods. I saw on another thread someone said, "enable one", but I see no checkbox for Enable Merchant Calculated Shipping. I found it interesting that it has the 2 proper methods for the carrier (as I deleted the rest from the file as advised in instructions) in the drop down with $0, yet it doesn't revert to the default, which is filled in on the Google Checkout Module Dashboard. I would like advise on where to look to fix that. The rest is FYI, what else works or doesn't. I re-check Enable Carrier Calculated Shipping and in Carrier Calculated Shipping Configuration, I set the defaults to 100. I pay, my method is valid, but it reverts to defaults as though it can't contact the server. Repeatedly over the last few hours. Also, in Carrier Calculated Shipping Configuration, there is no First Class choice, my primary method. Any help is greatly appreciated, Walter
  14. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    I just purposly broke the store again, then fixed it again to be certain. It was in fact: then try this in both configure.php files for: DIR_FS_CATALOG define('DIR_FS_CATALOG', '/home/content/h/o/d/hodja451/html/catalog/'); It was switching catalog/includes/configure.php that did the trick. This would explain why Amazon didn't work either. So 100 thanks, and thanks in advance for fixing my Amazon install, which is next on the list. Walter
  15. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Whoa! That was it!!
  16. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Ha! You thought I was smart, jokes on you!! catalog/includes/configure.php define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); // define('DIR_FS_CATALOG', 'http://www.me.com/catalog/'); define('DIR_FS_CATALOG', '/home/content/h/o/d/hodja451/html/catalog/'); catalog/admin/includes/configure.php (edited out local reference) Online was already set to define('DIR_FS_CATALOG', '/home/content/h/o/d/hodja451/html/catalog/');
  17. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    define('DIR_FS_CATALOG', '/home/content/h/o/d/hodja451/html/catalog/'); Didn't help.
  18. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    /catalog/configure.php define('DIR_FS_CATALOG', 'http://www.me.com/catalog/'); But... /catalog/admin/configure.php Does not exist. It's not in the original oscommerce-2.2rc2a zip either. Will try above now. thanks
  19. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    error: require_once() - there is a required directory that's missing: most likely DIR_FS_CATALOG so check your install Too weird. I double checked catalog/configure.php and found my local copy, which contains: define('DIR_FS_CATALOG', 'C:/xampp/htdocs/catalog/'); I thought this was my entire problem and restored the online version, which contains: define('DIR_FS_CATALOG', 'http://www.me.com/catalog/'); No difference. (How can that be? I would think everything would have been fubar.) catalog/includes/configure.php was good. Does "there is a required directory that's missing: most likely DIR_FS_CATALOG so check your install" simply mean make sure you have a catalog/configure.php and make sure it includes define('DIR_FS_CATALOG', 'http://www.me.com/catalog/'); and make sure http://www.me.com/catalog/ exists? Or is there another thing to check? Thank You, Thank You, Thank You,
  20. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Rechecking....The instructions said to add at an occupied line, so I flipped a coin, (is that a problem?) From google-checkout-oscommerce Installation_1_5_0 Modified osCommerce 3. Manually edit the following files from your system as instructed below: 2b. <osc-directory>/catalog/admin/modules.php (LINE 15) Add: require_once(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules1.php'); But line 15 is occupied: 13 require('includes/application_top.php'); 14 15 $set = (isset($HTTP_GET_VARS['set']) ? $HTTP_GET_VARS['set'] : ''); 16 17 if (tep_not_null($set)) { Does it matter if I place it before or after line 15? I have it at line 14 (above). Similarly, and I'm pretty sure this one doesn't matter, on Orders.php they also say to add at line 15, which is already occupied. 13 require('includes/application_top.php'); 14 15 require(DIR_WS_CLASSES . 'currencies.php'); 16 $currencies = new currencies(); So I went with: 13 require('includes/application_top.php'); 14 15 require(DIR_WS_CLASSES . 'currencies.php'); 16 comment 17 require_once(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/orders1.php'); 18 comment 19 $currencies = new currencies(); Is this okay? Walter PS: from GoDaddy you are currently able to set allow_url_fopen = On and allow_url_include = On in your php5.ini file and you do not require a dedicated server for what you are doing.
  21. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    Thanks for your time, h2oHOH. While I uploaded /catalog/googlecheckout/tools, it seemed to me that the root/tools directory was for the automatic install. As I was doing an install to a heavily formatted site, I left the tools folder local. Was the root/tools folder required to be uploaded before hitting the install button on the Admin console. Re:not sure about Amazon? I only mentioned it in case it rings a bell. I am going to double check the code, and more specifically, files. There were 2 files I uploaded because it seemed right, but they were not in the instructions. One was the admin console file, I will check what the other one was while checking the install. Would you say the double / catalog//includes is not unusual in an error message, and nothing to worry about? Thanks, Walter
  22. hodja451

    Offical Google Checkout module for osCommerce Support Thread

    I've found similar errors in the forums, but not specifically this one. Any help would be appreciated. I think I may need to upgrade to a dedicated server, or it's this: catalog//includes I'm using osCommerce Online Merchant v2.2 RC2a I have a shared linux server/host plan at Godaddy. I had Oscommerce up and running with Paypal payments only. No Problems. Then, upon installing Amazon Payments into Oscommerce, I was getting an error URL file-access is disabled in the server configuration. Uninstalled Amazon, all good. I then tried to install Google payments instead, same error. I placed a pnp5.ini file with allow_url_fopen = On and allow_url_include = On, and It now generates an error failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in, instead of the other error. So while the site and Paypal work fine, both an Amazon install and a google install cAUSE THE SAME ERror. The same error appears at the bottom of an otherwise fine Login page. And as a replacement for the shopping_cart.php PHP5.ini has allow_url_fopen = On allow_url_include = On and is only in the root The full error contains a double / catalog//includes error replacement for the shopping_cart.php : Warning: require_once(http://www.me.com/catalog//includes/languages/english/modules/payment/googlecheckout.php) [function.require-once]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/content/h/o/d/hodja451/html/catalog/includes/modules/payment/googlecheckout.php on line 50 Fatal error: require_once() [function.require]: Failed opening required 'http://www.me.com/catalog//includes/languages/english/modules/payment/googlecheckout.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/h/o/d/hodja451/html/catalog/includes/modules/payment/googlecheckout.php on line 50 At bottom of login page, the error is gone. I don't know, how, but I was playing with permissions. I got the Google module from google's own google checkout page. That's everything I think is pertinent. Thanks, Walter
  23. hodja451

    Help with UPS module setup

    Thanks
  24. hodja451

    Help with UPS module setup

    Stumbles in from Google... ....so I'm installing Google checkout, and a replace "Block A" with "Block B" in modules.php instruction has extra code in "Block A". I assume its from another add on I added on. I Googled $value = implode and found this, and all threads referred to shipping modules. Apparently I have done what Jan Zonjee recommends above as part of my USPS add on. So I have: case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { if( is_array( $value ) ){ $value = implode( ", ", $value); $value = ereg_replace (", --none--", "", $value); } tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; And the instructions say: Replace: case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; With: case 'save': // *** BEGIN GOOGLE CHECKOUT *** require(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules2.php'); // *** END GOOGLE CHECKOUT *** tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; I am nervous what will happen if I do that, I don't want to lose the implode stuff, but googlecheckout/inserts/admin/modules2.php seems to include the extra code: // fix configuration no saving - reset($HTTP_POST_VARS['configuration']); // end fix while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { // Checks if module is of type google checkout and also verfies if this configuration is // for the check boxes for the shipping options if (is_array($value)) { $value = implode(", ", $value); $value = ereg_replace (", --none--", "", $value); } // Change this query to use gc_makeSqlString() tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = " . gc_makeSqlString($value) . " where configuration_key = " . gc_makeSqlString($key)); } So I should just do the replace as instructed and relax and it's all good. Right? No really, I'm asking, right? Thanks, Walter
  25. After install there was an error in English.php that made all pages inaccessible. I temporarily solved that problem by restoring the original html_output.php. Now I get an error on login.php that PEAR.php is missing. It is there, but the error discloses that it is inserting the base url multiple times, after each sub directory, as seen below. How is it doing that? Fatal error: require_once() [function.require]: Failed opening required 'PEAR/PEAR.php' (include_path='.:http://www.instantvideogames.com/catalog/:http://www.instantvideogames.com/catalog/checkout_by_amazon:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/PHP_Compat-1.6.0a1:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/SOAP-0.12.0:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/PEAR-1.7.2:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/PEAR-1.7.2/PEAR:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/HTTP-1.4.3:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/Mail_Mime-1.5.2:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/Mail_mimeDecode-1.5.0:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/Net_Socket-1.0.9:http://www.instantvideogames.com/catalog/checkout_by_amazon/library/Net_URL-1.0.15:http://www.instantvideogames.com/catalog/checkou in /home/content/h/o/d/hodja451/html/catalog/checkout_by_amazon/checkout_by_amazon_includes.php on line 50 Thanks, Walter
×