avidreader Posted June 5, 2009 Share Posted June 5, 2009 I am using oscommerce-2.2rc2, on which I have installed Google checkout. I am now trying to install USPS 4.3.0 alpha shipping. The first half of the instructions were no problem. But when I get to the second half--PRE v.3.0 Installation Instructions--I am stuck on a change that conflicts slightly with Google's changes. Step 5 says: catalog/admin/modules.php ***************************************** Find This code somewhere around line 43: ***************************************** if (tep_not_null($action)) { switch ($action) { case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { *********************************************** INSERT THE FOLLOWING CODE AFTER THE ABOVE LINE: *********************************************** if( is_array( $value ) ){ $value = implode( ", ", $value); $value = ereg_replace (", --none--", "", $value); } --------------------------------------------------------------------------------- However, my file looks like this at that section: if (tep_not_null($action)) { switch ($action) { 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; case 'install': --------------------------------------------------------------------------------- If this is helpful, my intention is to have to methods of purchasing at the store. I want to use my post office info with products, in order for people to use checks or money orders. People using credit cards go through to Google. Does anyone else have separate USPS and Google modules set up? If there is another way I am interested, as well. Thanks, Trisha avidreader 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.
Note: Your post will require moderator approval before it will be visible.