Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

doni

Pioneers
  • Posts

    64
  • Joined

  • Last visited

Profile Information

  • Real Name
    Don

doni's Achievements

  1. As an aside - is there a way that I can hide this Warning while I figure out why this isn't working. i.e. - if the Google button only show 40% of the time, when the "Failed to Open" error text occurs on the other 60% of the time, can I NOT show this text somehow? The problem is, when the button doesn't show, and the error appears, it looks like the whole website is faulty ... Even better, if the error occurs, instead of displaying the "Failed to Open" error text, is there a way I can replace this with (e.g.) "Please refresh screen for Google Checkout options" instead - this would at least inform the buyer that they have a Google Checkout option, and they need to refresh the screen in order to use that method ...
  2. Yes - it is a tricky one isn't it. Thanks for all your time on these boards supporting people.
  3. 1. Using 1.4 beta 2. Guess what - my "F5 refresh hit rate" (when I observe the Google Checkout buttone, compared to seeing the error), has improved to about 5 in 8 (from 1 in 8 yesterday). 3. I cannot locate any error files on the Google side. 4. The only error files I have on my side is "Failed to Get Basic Authentication Headers" when I ran https://mysite/googlecheckout/responsehandler.php. I had investigated this in the past, in a post rpou was having with someone else, and he suggested invoking the htaccess.php file to create the .htaccess and .htpasswd files in Googlecheckout/, but this has no effect on whether the button show or not, so I removed the .htaccess and .htpasswd files and re-set back to using without this. 5. This next point is very interesting : When I run the Shipping_Generator file, sometimes I get : Warning: main(multishipping_generator.php): failed to open stream: No such file or directory in /mysite/googlecheckout/shipping_generator/shipping_method_generator.php on line 284 Warning: main(): Failed opening 'multishipping_generator.php' for inclusion (include_path='') in /mysite/googlecheckout/shipping_generator/shipping_method_generator.php on line 284 ... and sometimes, when I refresh F5, I get the correct table showing. 6. On the face of it, it seems to me that I am having some kind of resource issues here, where the files cannot complete a task, but I have ample server space, and the traffic is very low at this time of year, so I don't think the resource issue is coming from my side. (i.e. Without GC, we can process order through HSBC fine). I think I am very stuck.
  4. 1. Have you edited the admin/modules.php file correctly? 2. Have you created the admin/includes/modules/payments/googlecheckout.php file?
  5. Nick - I am dumbfounded by this. Here is what I tried this morning. 1. added an item to my basket. 2. At the shopping cart page I actually saw the button. 3. I pressed F5, and the error occurred, showing the text I had previously previously quoted 4. I pressed the F5 button six more times, and the error was still there, but on the 7th occassion, the button appeared! 5. I kept pressing the F5 button, and the button appears randmonly, but on average after about 8-9 re-fresh, and on every other occasion, there errior is apparent. It therefore appears to me, that I have installed this correctly, but something is unstable, but I have no idea what this might be?
  6. Hi Nick My problem was : QUOTE(doni @ Aug 9 2007, 04:45 AM) I have installed the latest contribution, and have the following errors : Warning: getxml(xml-processing/xmlbuilder.php): failed to open stream: No such file or directory in /mysite/googlecheckout/library/googlecart.php on line 232 Fatal error: getxml(): Failed opening required 'xml-processing/xmlbuilder.php' (include_path='') in /mysite/googlecheckout/library/googlecart.php on line 232 ... at the point where I enter the Checkout Page (with items in my cart), and below the "- or Use -" text. I used to see this code sometimes in the past, and if I refreshed the page, the GC button would usually appear. I have actually processed an order using GC. But now, this text always appears, and NO GC buttone ever appears even when I refresh the page. Anyone any guidance on what I should do, or generally what this error means? ___________ AND YOU ASKED FOR MY SHOPPING CART, WHICH IS : ___________ <?php /* $Id: shopping_cart.php,v 1.73 2003/06/09 23:03:56 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require("includes/application_top.php"); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHOPPING_CART)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_cart.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($cart->count_contents() > 0) { ?> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[0][] = array('align' => 'center', 'params' => 'class="productListing-heading"', 'text' => TABLE_HEADING_REMOVE); $info_box_contents[0][] = array('params' => 'class="productListing-heading"', 'text' => TABLE_HEADING_PRODUCTS); $info_box_contents[0][] = array('align' => 'center', 'params' => 'class="productListing-heading"', 'text' => TABLE_HEADING_QUANTITY); $info_box_contents[0][] = array('align' => 'right', 'params' => 'class="productListing-heading"', 'text' => TABLE_HEADING_TOTAL); $any_out_of_stock = 0; $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { // Push all attributes information in an array if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) { while (list($option, $value) = each($products[$i]['attributes'])) { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . $products[$i]['id'] . "' and pa.options_id = '" . $option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . $value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . $languages_id . "' and poval.language_id = '" . $languages_id . "'"); $attributes_values = tep_db_fetch_array($attributes); $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name']; $products[$i][$option]['options_values_id'] = $value; $products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name']; $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price']; $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix']; } } } for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (($i/2) == floor($i/2)) { $info_box_contents[] = array('params' => 'class="productListing-even"'); } else { $info_box_contents[] = array('params' => 'class="productListing-odd"'); } $cur_row = sizeof($info_box_contents) - 1; $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data" valign="top"', 'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id'])); $products_name = '<table border="0" cellspacing="2" cellpadding="2">' . ' <tr>' . ' <td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' . ' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>'; if (STOCK_CHECK == 'true') { $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']); if (tep_not_null($stock_check)) { $any_out_of_stock = 1; $products_name .= $stock_check; } } if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) { reset($products[$i]['attributes']); while (list($option, $value) = each($products[$i]['attributes'])) { $products_name .= '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; } } $products_name .= ' </td>' . ' </tr>' . '</table>'; $info_box_contents[$cur_row][] = array('params' => 'class="productListing-data"', 'text' => $products_name); $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data" valign="top"', 'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id'])); $info_box_contents[$cur_row][] = array('align' => 'right', 'params' => 'class="productListing-data" valign="top"', 'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>'); } new productListingBox($info_box_contents); ?> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main"><b><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $currencies->format($cart->show_total()); ?></b></td> </tr> <?php if ($any_out_of_stock == 1) { if (STOCK_ALLOW_CHECKOUT == 'true') { ?> <tr> <td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></td> </tr> <?php } else { ?> <tr> <td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></td> </tr> <?php } } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td> <?php $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { ?> <td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> <?php } ?> <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></form></td> </tr> <tr> <td> <?php // ** GOOGLE CHECKOUT ** // Checks if the Google Checkout payment module has been enabled and if so // includes gcheckout.php to add the Checkout button to the page if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') { include_once('googlecheckout/gcheckout.php'); } // ** END GOOGLE CHECKOUT ** ?> </td> </tr> <?php } else { ?> <tr> <td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> _______ and any help would be fabulous.
  7. I think that there are many people who would like you to post this as a contribution, so we can try it "as is" - without international shipping. One of the main reasons why I need to install the GC contribution is the click through benefits of offering it alongside Adwords, which will (I believe) hugely benefit store sales in the short term (since GC has not yet reached critical mass with Adword competitors). However, I have tried to install the ropu contribution and it doesn't work for me. I would really like to try to install your contribution "as is". I believe only a small proportion of our customers (UK) will use GC, and I don't care about international shipping, I just want something that satisfies Google to show the logo on the Adwords campaign. This will suit us in the short term. Please advise if you will be adding this as a contribution.
  8. doni

    Google Checkout Level 2

    I have installed the latest contribution, and have the following errors : Warning: getxml(xml-processing/xmlbuilder.php): failed to open stream: No such file or directory in /mysite/googlecheckout/library/googlecart.php on line 232 Fatal error: getxml(): Failed opening required 'xml-processing/xmlbuilder.php' (include_path='') in /mysite/googlecheckout/library/googlecart.php on line 232 ... at the point where I enter the Checkout Page (with items in my cart), and below the "- or Use -" text. I used to see this code sometimes in the past, and if I refreshed the page, the GC button would usually appear. I have actually processed an order using GC. But now, this text always appears, and NO GC buttone ever appears even when I refresh the page. Anyone any guidance on what I should do, or generally what this error means?
  9. Thanks Guys. We use DSVR servers which we control and host about 50 domains on, and I think you are right about thr return path ... Yes - I will need to do more testing to try to find out why, and when this happens, but it's quite tricky because, we only find out when the customer calls to pay by phone. I'll see what information we can get from the logs - which I'm sure may assist here. In this instance it was a problem with SINGLE downloadable item, so either they removed the address, or it was removed by OSC ... Thanks for your guidance ...
  10. [ASIDE] However, it cannot be an "all time" problem for downloadable items, since I know that many customers are able to pay for downloadable items and checkout through the HSBC module themselves !
  11. Ali - that is very astute. We mainly sell physical products, but have a small selection of downloadable ones too. In this instance, it was a single downloadable item that didn't go through .... hmmm ... now I am wondering whether the problems ONLY occur when someone has a single OR a mix of physical and downloadable items ... Ribs - I am not sure whether I have a bug in the module. I recall some initial problems wit setting this up, and think I may have hacked something to make it work (knowing that I may have to check out a customer's basket, BUT cannot remember what the problem was at the time - I have probably posted here when I experienced the problem. The thing is, it has been working brilliantly for a number of months, save for the having to log in and check out the occasional basket).
  12. Hi Vger. [sorry HI RIBS] I already have that contribution [since i have to log in as my customers when they do not return from the HSBC page. I can see the payment on the HSBC merchant page, but their basket has not been checked out. I simply check out their basket, saying I will pay by cheque, then immediateoly change it to reflect the cc payment i already have.] In the instance I have mentioned, I already did the check, and could see that the address was BLANK. So my guess is that they must have cleared it, or for some reason OSC is not filling it on the (e.g. 1 in 20) occasions when the customer received this message!
  13. Thanks Vger. I assume the code will be different for the HSBC module though?
  14. Hi everyone. I have been using this module for about 9 months, and on occassions, I get the message "Transaction failed because of invalid input data". Now it happens to a small proportion of my customers, and I have read that we need to ensure the length of the fields in the address, etc. I managed to speak with a customer who failed, and could pin down the time they called. Now HSBC say it was because there was NO delivery address for that customer (although there was a billing address), which I find odd. The customer says they did not DELETE the shipping address (but I guess she they did - or did they?), as the default should be that the delivery address, matched the shipping address in OSC? Any thoughts on a way around this?
  15. Ok - just after posting - I found it. It doesn't update a table at all, it writes it to catalog/includes/english/header_tags.php, which is even better and much easier for me to block edit. Thanks.
×
×
  • Create New...