Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding USPS 4.3.0 to Google checkout store


Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...