aftabn10 Posted February 10, 2009 Share Posted February 10, 2009 hi, I have managed to install the following contribution of Google Checkout. I have been through the instructions and made all the required amendments, but I seem to have an issue in the admin section where Google Checkout is not listed in Payment Modules. Where have I gone wrong? Please could somebody help. Quote Link to comment Share on other sites More sharing options...
web-project Posted February 10, 2009 Share Posted February 10, 2009 (edited) Where have I gone wrong? you need to paste the code into login.php & shopping_cart.php files. Edited February 10, 2009 by web-project Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
aftabn10 Posted February 10, 2009 Author Share Posted February 10, 2009 Quote Link to comment Share on other sites More sharing options...
aftabn10 Posted February 11, 2009 Author Share Posted February 11, 2009 Any1? Quote Link to comment Share on other sites More sharing options...
swords Posted February 20, 2009 Share Posted February 20, 2009 (edited) Are you sure you made the required mods to catalog/admin/modules ? Here's the instructions from the installation.txt file. Also do you have maybe Mindsparx admin or a template installed on the admin side? If so you may have to manually edit the boxes/modules file. 2a. /catalog/admin/modules.php LINE 45 ============================================================================ 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': // ** GOOGLE CHECKOUT ** // fix configuration no saving - reset($HTTP_POST_VARS['configuration']); // end fix // ** END GOOGLE CHECKOUT ** while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { // ** GOOGLE CHECKOUT ** // 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); } // ** END GOOGLE CHECKOUT ** tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = " . gc_makeSqlString($value) . " where configuration_key = " . gc_makeSqlString($key)); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; ---------------------------------------------------------------------------- 2b. /catalog/admin/modules.php LINE 14 ============================================================================ ADD: // ** GOOGLE CHECKOUT ** function gc_makeSqlString($str) { $single_quote = "'"; $escaped_str = addcslashes(stripcslashes($str), "'\"\\\0..\37!@\177..\377"); return ($single_quote.$escaped_str.$single_quote); } // **END GOOGLE CHECKOUT** Edited February 20, 2009 by swords Quote Link to comment Share on other sites More sharing options...
rugland Posted November 8, 2011 Share Posted November 8, 2011 where do i find the instruction for intalling google checkout in oscommerce 2.3.1 Quote Link to comment Share on other sites More sharing options...
Severanth Posted November 11, 2011 Share Posted November 11, 2011 bump rugland. looking for it as well. I suspect google checkout info will explain most of it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.