graysonhobby Posted February 10, 2007 Share Posted February 10, 2007 Hows someone figured out a way to simple way to add the Credit Card Pictures to the checkout screen? Quote Link to comment Share on other sites More sharing options...
SteveDallas Posted February 10, 2007 Share Posted February 10, 2007 Hows someone figured out a way to simple way to add the Credit Card Pictures to the checkout screen? Â Yes. I posted a solution in August 2006. See this post. Â Tested with 0.7.x; should work for 0.8.x. Â --Glen Quote Link to comment Share on other sites More sharing options...
graysonhobby Posted February 10, 2007 Share Posted February 10, 2007 Yes. I posted a solution in August 2006. See this post. Tested with 0.7.x; should work for 0.8.x.  --Glen   Yes that is simple..So just one file to edit?  I altered the paypal_wpp.php and Works perfect..At least looks perfect. :D Quote Link to comment Share on other sites More sharing options...
THOUGHTOUT Posted February 10, 2007 Share Posted February 10, 2007 In the last day NONE of my direct payments are completing to PayPal. My osCommerce 2.2 ms2 completes the transaction with a CVV2 and AVS error, it appears no handshake with PayPal happens what so ever. Express checkout seems to still work fine. I have the SOAP timeout set to 300 (and tried more and less). Has something happened with the this LIVE update the I hear started yesterday with PayPal that could be giving me this problem?  This osCommerce store has been running for 1 year now, with this happening about 3 selective times in the past for random customers then magically clearing it self up.  Using Website Payments Pro v0.6 contribution. (I know I should upgrade! as soon I figure this out I will)  Thanks Mike Talmadge  http://thoughtout.biz/catalog Quote Link to comment Share on other sites More sharing options...
SteveDallas Posted February 10, 2007 Share Posted February 10, 2007 In the last day NONE of my direct payments are completing to PayPal. My osCommerce 2.2 ms2 completes the transaction with a CVV2 and AVS error, it appears no handshake with PayPal happens what so ever. Express checkout seems to still work fine. I have the SOAP timeout set to 300 (and tried more and less). Has something happened with the this LIVE update the I hear started yesterday with PayPal that could be giving me this problem? This osCommerce store has been running for 1 year now, with this happening about 3 selective times in the past for random customers then magically clearing it self up.  Using Website Payments Pro v0.6 contribution. (I know I should upgrade! as soon I figure this out I will)  Thanks Mike Talmadge  http://thoughtout.biz/catalog  That's odd. A few weeks ago, all my orders were failing with odd error messages; both express checkout and direct payment. PayPal had done an update and managed to reset the flag that indicated that my account had a verified email address on file. The workaround was to add a new address to my account and respond to the verification email. I was down for about 24 hours before I realized the nature of the problem and contacted PayPal tech support for assistance.  --Glen Quote Link to comment Share on other sites More sharing options...
THOUGHTOUT Posted February 10, 2007 Share Posted February 10, 2007 Did you have to change your API username? That is strange because the direct payment module does not reference to your email address, unless I am missing something?   That's odd. A few weeks ago, all my orders were failing with odd error messages; both express checkout and direct payment. PayPal had done an update and managed to reset the flag that indicated that my account had a verified email address on file. The workaround was to add a new address to my account and respond to the verification email. I was down for about 24 hours before I realized the nature of the problem and contacted PayPal tech support for assistance. --Glen Quote Link to comment Share on other sites More sharing options...
THOUGHTOUT Posted February 10, 2007 Share Posted February 10, 2007 Nearly the same problem! Now it all of cc transactions...express is working. Â It's not really as I checked their details and all is well.. we only allow purchases with accounts and the address is most certainly not the culprit this time Quote Link to comment Share on other sites More sharing options...
SteveDallas Posted February 10, 2007 Share Posted February 10, 2007 Did you have to change your API username? That is strange because the direct payment module does not reference to your email address, unless I am missing something? Â I didn't have to change the API username. Even though direct payment doesn't reference your email address, your account must have at least one verified address on file. My profile showed that my primary address was verified, but something internal to the PayPal database got out of sync, so the transactions failed. Â --Glen Quote Link to comment Share on other sites More sharing options...
THOUGHTOUT Posted February 10, 2007 Share Posted February 10, 2007 I decided to upgrade to 0.8.2, that was easy. However, I still have the same problem, the order completes in the store with a email to buyer and store admin showing completion, PayPal does not receive the transaction, if I login to the store order it shows AVS and CVVS Code errors. I have now set the payment module to yes for declined cards, and the store at least emails me the "Paypal declined the enclosed card" message info.  Why would this this decline the card? I have used this card(s) and profile plenty of times in the past for testing with success. It also declines the testing card number in the instructions, is some up with paypal?  Also, I believe the var time out to 300 is no longer needed in 0.8.2, is that correct?     In the last day NONE of my direct payments are completing to PayPal. My osCommerce 2.2 ms2 completes the transaction with a CVV2 and AVS error, it appears no handshake with PayPal happens what so ever. Express checkout seems to still work fine. I have the SOAP timeout set to 300 (and tried more and less). Has something happened with the this LIVE update the I hear started yesterday with PayPal that could be giving me this problem? This osCommerce store has been running for 1 year now, with this happening about 3 selective times in the past for random customers then magically clearing it self up.  Using Website Payments Pro v0.6 contribution. (I know I should upgrade! as soon I figure this out I will)  Thanks Mike Talmadge  http://thoughtout.biz/catalog Quote Link to comment Share on other sites More sharing options...
eliw Posted February 10, 2007 Share Posted February 10, 2007 I Suggest that everyone with the new error problems in Direct Payments to contact Paypal straight away.  Please go to this address and write to them through the contact section there .. it it the best way to get through to their real developers.  http://www.paypal.com/mts  The quicker they realise that the problem is on their side the better it will be for us all... please make sure you let them know that otherws are also having the same problem ... Quote Link to comment Share on other sites More sharing options...
eliw Posted February 10, 2007 Share Posted February 10, 2007 I decided to upgrade to 0.8.2, that was easy. However, I still have the same problem, the order completes in the store with a email to buyer and store admin showing completion, PayPal does not receive the transaction, if I login to the store order it shows AVS and CVVS Code errors. I have now set the payment module to yes for declined cards, and the store at least emails me the "Paypal declined the enclosed card" message info. Why would this this decline the card? I have used this card(s) and profile plenty of times in the past for testing with success. It also declines the testing card number in the instructions, is some up with paypal?  Also, I believe the var time out to 300 is no longer needed in 0.8.2, is that correct?   I run 0.8.2 also but in my case most transactions still complete ok ... it is just about 10% of them that have now started showing these strange errors (only since last week)  The likeliest reason for these new problems (as Brian suggested) is that something happened on their side and it is affecting people differently  Let's hope with all the emails they will receive from us they'll decide to either roll back or work on finding the problem Quote Link to comment Share on other sites More sharing options...
THOUGHTOUT Posted February 10, 2007 Share Posted February 10, 2007 Magically it is now working! I did nothing different, I just gave it some time, must be PayPal. Now I need a beer! Complaint emails sent.  Does anyone know the file name and location that produces "Save time. Checkout securely. Pay without sharing your financial information" on the DELIVERY INFORMATION page?    I decided to upgrade to 0.8.2, that was easy. However, I still have the same problem, the order completes in the store with a email to buyer and store admin showing completion, PayPal does not receive the transaction, if I login to the store order it shows AVS and CVVS Code errors. I have now set the payment module to yes for declined cards, and the store at least emails me the "Paypal declined the enclosed card" message info. Why would this this decline the card? I have used this card(s) and profile plenty of times in the past for testing with success. It also declines the testing card number in the instructions, is some up with paypal?  Also, I believe the var time out to 300 is no longer needed in 0.8.2, is that correct? Quote Link to comment Share on other sites More sharing options...
SteveDallas Posted February 12, 2007 Share Posted February 12, 2007 Magically it is now working! I did nothing different, I just gave it some time, must be PayPal. Now I need a beer! Complaint emails sent. Â Does anyone know the file name and location that produces "Save time. Checkout securely. Pay without sharing your financial information" on the DELIVERY INFORMATION page? Â All fixed text strings are stored in the language-specific include files associated with the main file. Therefore, since the page you asked about is /catalog/checkout_shipping.php, you will find its localization file at /catalog/includes/languages/english/checkout_shipping.php (the version included with the contribution, of course). Â --Glen Quote Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2007 Share Posted February 12, 2007 Hello all. I'm new to oscommerce and if possible I need a little help. I installed this mod and it played havock with my main page. I think I narrowed it down to the differences in the header. I have tried winmerge but after looking over everything I'm not sure what, where and how I need to merge. I will include both copies. The first will be my original stores header and the second will be the one that comes with this mod. If anyone can help I would greatly appreciate it. Thanks in advance...   <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $  osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com  Copyright © 2003 osCommerce  Released under the GNU General Public License */  // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } }  // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } }  // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } }  // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } }  if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } }  if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?>   <table cellspacing=0 cellpadding=0 width=755 align=center> <tr><td> <table cellspacing=0 cellpadding=0> <tr><td height=12 colspan=6></td></tr> <tr><td width=195></td> <td>  <? // LANGUAGES  if (!isset($lng) || (isset($lng) && !is_object($lng))) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; }  $languages_string = ''; reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { $languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> '; }  echo $languages_string;  ?>  </td> <td class=tx> Choose your<br> language</td> <td width=297></td> <td align=right>  <? // CURRENCIES  echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get');  reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); }  $hidden_get_variables = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= tep_draw_hidden_field($key, $value); } }  echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" ') . $hidden_get_variables . tep_hide_session_id(); echo '</form>';  ?>  </td> <td width=35></td></tr> <tr><td colspan=6><img src=images/m07.gif width=755 height=9></td></tr> </table> <table cellspacing=0 cellpadding=0> <tr><td><img src=images/m08.jpg width=167 height=167><img src=images/m09.jpg width=168 height=167></td> <td background=images/m10.jpg width=252 height=167>   <? // SEARCH ?>  <table cellspacing=0 cellpadding=0> <?=tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get')?> <tr><td height=100 colspan=3></td></tr> <tr><td width=28></td> <td><?=tep_draw_input_field('keywords', '', 'size="20" maxlength="30" class=go99') . ' ' . tep_hide_session_id()?>  </td> <td><input type=image src=images/m06.gif width=54 height=19></td></tr> <tr><td height=6 colspan=3></td></tr> <tr><td width=28></td><td colspan=2><a href=<?=tep_href_link(FILENAME_ADVANCED_SEARCH)?> class=ml><?=BOX_SEARCH_ADVANCED_SEARCH?></a></td></tr> <tr><td height=20 colspan=3></td></tr> </form> </table>     </td> <td background=images/m11.jpg width=168 height=167> <table cellspacing=0 cellpadding=0> <tr><td height=18 colspan=2></td></tr> <tr><td width=24></td> <td width=143> <table cellspacing=0 cellpadding=0> <tr><td><a href=<?=tep_href_link('shopping_cart.php')?>><img src=images/m04.gif width=31 height=31 border=0></a>  </td><td class=ml1><b>Shopping<br>Cart</b></td></tr> <tr><td colspan=2><font color=#ffffff>now in your cart</font>  <b><a href=<?=tep_href_link('shopping_cart.php')?> class=ml1><font color=#F63600><?=$cart->count_contents()?> items</font></a></b></td></tr> <tr><td colspan=2 height=20></td></tr> <tr><td colspan=2><img src=images/m05.gif width=4 height=4 align=absmiddle>  <a href=<?=tep_href_link('specials.php')?> class=ml2>Specials</a></td></tr> <tr><td colspan=2><img src=images/m05.gif width=4 height=4 align=absmiddle>  <a href=<?=tep_href_link('advanced_search.php')?> class=ml2>Search</a></td></tr> <tr><td colspan=2><img src=images/m05.gif width=4 height=4 align=absmiddle>  <a href=<?=tep_href_link('contact_us.php')?> class=ml2>Contact Us</a></td></tr> <tr><td colspan=2><img src=images/m05.gif width=4 height=4 align=absmiddle>  <a href=<?=tep_href_link('create_account.php')?> class=ml2>Create an account</a></td></tr> <tr><td colspan=2><img src=images/m05.gif width=4 height=4 align=absmiddle>  <a href=<?=tep_href_link('login.php')?> class=ml2>Customer Login</a></td></tr> </table> </td></tr> </table> </td></tr> </table> <table cellspacing=0 cellpadding=0> <tr><td colspan=2><img src=images/m12.gif width=755 height=9></td></tr> <tr><td><img src=images/m13.jpg width=251 height=56></td> <td> <table cellspacing=0 cellpadding=0> <tr><td><a href=<?=tep_href_link('index.php')?>><img src=images/m14.gif width=91 height=48 border=0></a><a href=<?=tep_href_link('products_new.php')?>><img src=images/m15.gif width=114 height=48 border=0></a><a href=<?=tep_href_link('account.php')?>><img src=images/m16.gif width=100 height=48 border=0></a><a href=<?=tep_href_link('shopping_cart.php')?>><img src=images/m17.gif width=115 height=48 border=0></a><a href=<?=tep_href_link('checkout_shipping.php')?>><img src=images/m18.gif width=85 height=48 border=0></a></td></tr> <tr><td><img src=images/m19.gif width=504 height=8></td></tr> </table> </td></tr> </table> </td></tr> </table> <table cellspacing=0 cellpadding=0 width=755 align=center> <tr><td width=251 valign=top> <table cellspacing=0 cellpadding=0> <tr><td><img src=images/m20.gif width=251 height=36></td></tr> <tr><td class=bg> <table cellspacing=0 cellpadding=0 width=216 align=center> <tr><td height=8></td></tr>  <? // ---- CATEGORIES  function tep_show_category($counter) { global $tree, $categories_string, $cPath_array;  if(!$tree[$counter]['level']){  $categories_string .= $categories_string ? '<tr><td><img src=images/m23.gif width=216 height=1></td></tr><tr><td height=3></td></tr>' : '';  $categories_string .= '<tr><td>    <img src=images/m22.gif width=3 height=5 align=absmiddle>  <a class=ml3 href=';  if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link('index.php', $cPath_new) . '>'; // display categry name $categories_string .= $tree[$counter]['name']; $categories_string .= '</a></td></tr><tr><td height=3></td></tr>'; }else{ $categories_string .= '<tr><td>   ';  for($i=0;$i<$tree[$counter]['level'];$i++) $categories_string .= '   ';  $categories_string .= ' - <a class=ml3 href='; if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link('index.php', $cPath_new) . '>'; // display category name $categories_string .= $tree[$counter]['name']; $categories_string .= '</a></td></tr><tr><td height=3></td></tr>'; }  if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } }    define(TABLE_CATEGORIES, "categories"); define(TABLE_CATEGORIES_DESCRIPTION, "categories_description"); $categories_string = ''; $tree = array();  $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $tree[$categories['categories_id']] = array('name' => $categories['categories_name'], 'parent' => $categories['parent_id'], 'level' => 0, 'path' => $categories['categories_id'], 'next_id' => false);  if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $categories['categories_id']; }  $parent_id = $categories['categories_id'];  if (!isset($first_element)) { $first_element = $categories['categories_id']; } }  //------------------------ if ($cPath) { $new_path = ''; reset($cPath_array); while (list($key, $value) = each($cPath_array)) { unset($parent_id); unset($first_id); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); if (tep_db_num_rows($categories_query)) { $new_path .= $value; while ($row = tep_db_fetch_array($categories_query)) { $tree[$row['categories_id']] = array('name' => $row['categories_name'], 'parent' => $row['parent_id'], 'level' => $key+1, 'path' => $new_path . '_' . $row['categories_id'], 'next_id' => false);  if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $row['categories_id']; }  $parent_id = $row['categories_id'];  if (!isset($first_id)) { $first_id = $row['categories_id']; }  $last_id = $row['categories_id']; } $tree[$last_id]['next_id'] = $tree[$value]['next_id']; $tree[$value]['next_id'] = $first_id; $new_path .= '_'; } else { break; } } } $categories_string .= ''; tep_show_category($first_element); $categories_string .= '';  echo $categories_string; ?>  <tr><td height=6></td></tr> </table> </td></tr> <tr><td><img src=images/m24.gif width=251 height=6></td></tr> <tr><td height=3></td></tr> </table> <table cellspacing=0 cellpadding=0> <tr><td><img src=images/m25.gif width=251 height=36></td></tr> <tr><td class=bg>  <? // ---- MANUFACTURERS     $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); if ($number_of_rows = tep_db_num_rows($manufacturers_query)) {  echo ' <table cellspacing=0 cellpadding=0>'. tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get') .'<tr><td colspan=3 height=16></td></tr> <tr><td width=32></td><td> ';  $manufacturers_array = array(); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '..' : $manufacturers['manufacturers_name']); $manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'], 'text' => $manufacturers_name); }  echo tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($HTTP_GET_VARS['manufacturers_id']) ? $HTTP_GET_VARS['manufacturers_id'] : ''), 'onChange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" class=se') . tep_hide_session_id(); echo '  </td><td><input type=image src=images/m26.gif width=34 height=19></td></tr> <tr><td colspan=3 height=16></td></tr> </form> </table> ';   } ?>  </td></tr> <tr><td><img src=images/m24.gif width=251 height=6></td></tr> <tr><td height=2></td></tr> </table> </td> <td width=2></td> <td width=503 valign=top>      This is the one from the mod....      <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $  osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com  Copyright © 2003 osCommerce  Released under the GNU General Public License */  // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } }  // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } }  // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } }  // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } }  if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } }  if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td> <? //---PayPal WPP Modification START ---// ?> <?php if (tep_session_is_registered('customer_id')) { $show_user_options = true; if (tep_paypal_wpp_enabled() && tep_session_is_registered('paypal_ec_temp')) { //If this is a temp account that'll be deleted, don't show account information if ($paypal_ec_temp) { $show_user_options = false; } } } else { $show_user_options = false; } ?> <td align="right" class="headerNavigation"><?php if ($show_user_options) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td> <? //---PayPal WPP Modification END ---// ?> </tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php }  if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted February 12, 2007 Author Share Posted February 12, 2007 The header.php changes are the most difficult, and the least important. The changes in header.php simply hide the "My Account/Logout" link if the customer uses Express Checkout without creating an account. It looks like you hard coded the same links into your header whether or not the user is logged in or out, so my best advice is: If you can live without it, don't even worry about it. Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
ollyno1uk2 Posted February 13, 2007 Share Posted February 13, 2007 Hi  I have been using this contrib succesfully now for the UK. My only concern is the AVS side of things.  i have not had a match for an AVS yet. the CVV2 is fine but AVS alsways comes back as either not supported, no match or error.  Is anyone else getting this? Is it something that is not supported by UK cards?  Any advice would be appreciated.  Olly Quote Link to comment Share on other sites More sharing options...
josh1r Posted February 13, 2007 Share Posted February 13, 2007 Hi. I've had problems recently with 2 UK orders in a row (99% of my orders are US so it's not a huge problem, but still would like to fix), where I get an error that the country code is invalid. It looks correct as UK but is saying it's invalid (I see this in the error email I get via the contribution). Â This is a recent problem, normally UK orders go through fine, but the last 2 have not. Â Any thoughts? Â Thanks! Quote Link to comment Share on other sites More sharing options...
SteveDallas Posted February 13, 2007 Share Posted February 13, 2007 Hi. I've had problems recently with 2 UK orders in a row (99% of my orders are US so it's not a huge problem, but still would like to fix), where I get an error that the country code is invalid. It looks correct as UK but is saying it's invalid (I see this in the error email I get via the contribution). This is a recent problem, normally UK orders go through fine, but the last 2 have not.  Any thoughts?  Thanks!  The ISO 3166-1 country code for the United Kingdom of Great Britain and Northern Ireland is GB, not UK. Make sure that the countries table has the correct two letter code.  --Glen Quote Link to comment Share on other sites More sharing options...
imusic Posted February 14, 2007 Share Posted February 14, 2007 Okay so I have reinstalled this but get these messages. Â When I click on the paypal link it takes me to paypal and i log in then i get this message; Â 'We are sorry, we are experiencing temporary difficulties. Please try again later. If this error occurred while making a payment, avoid duplicate payments by checking your Account Overview before resending a payment. Â Message 3005' Â When I try to go direct to shopping cart i get this error message; Â 'Parse error: parse error, unexpected $ in /hsphere/local/home/imusic/imusiclabel.com/checkout_payment.php on line 426' Â Anyone any ideas Quote Link to comment Share on other sites More sharing options...
imusic Posted February 14, 2007 Share Posted February 14, 2007 Is there anyone who can help me install the UK version of this as I am completely lost.....The html installation instructions seem ok at first glance then I read this  'However, if you have modified your osCommerce installation, you will need to manually compare the new files with your existing ones, and possible manually merge the changes'  It has taken months and a kind guy in the states to get my site where it is now so don't want to muck it about. Please someone look at my site I sell hard goods as well as digital downloads (www.imusiclabel.com) My paypal pro account has been set up and I have to start paying for it in April but what's the point if I can't get it installed and my current paypal payment system is hindering my business  Yours anxious Quote Link to comment Share on other sites More sharing options...
josh1r Posted February 14, 2007 Share Posted February 14, 2007 The ISO 3166-1 country code for the United Kingdom of Great Britain and Northern Ireland is GB, not UK. Make sure that the countries table has the correct two letter code. --Glen  Thanks! I will give that a try! Quote Link to comment Share on other sites More sharing options...
chooch Posted February 14, 2007 Share Posted February 14, 2007 Is there anyone who can help me install the UK version of this as I am completely lost.....The html installation instructions seem ok at first glance then I read this 'However, if you have modified your osCommerce installation, you will need to manually compare the new files with your existing ones, and possible manually merge the changes'  It has taken months and a kind guy in the states to get my site where it is now so don't want to muck it about. Please someone look at my site I sell hard goods as well as digital downloads (www.imusiclabel.com) My paypal pro account has been set up and I have to start paying for it in April but what's the point if I can't get it installed and my current paypal payment system is hindering my business  Yours anxious As with all contributions you will have to text-diff the files, that really isn't a big deal because if you can't do it surely your friend in the states can help you and do it for you.  If you want to do it yourself thn download winmerge and use that to compare the two files (one from the contribution and the other on your server)  Unfortuantely as it is very time consuming you won't find anyone doing for you - htere are too many files to text-diff.. and with the fee payable from 31/03/2007 onwards - you have a decision to make. Good Luck Quote Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!  Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?  There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.  CHOOCH Link to comment Share on other sites More sharing options...
tonionio Posted February 20, 2007 Share Posted February 20, 2007 I just moved my osC to networksolutions web hosting server. When I using the PayPal WPP Direct Payments & Express Checkout to check out at the last step, the following error is logged:-  "Internal server error " "We’re sorry for the inconvenience, but there has been an internal server error. Please click on the back button to return to the former page. "  I am using the ver 0.8.2 and it was working fine on the original iPowerWeb webhosting server before i move to the network solutions.  Does anyone have any idea? or any osC technical service company can suggest to me for helping me to fix this problem?  :'( Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted February 20, 2007 Author Share Posted February 20, 2007 Is your new server running Windows? If not, it could be a number of things. No cURL, missing certificate, bad htaccess files. Install the diagnostics script and see what that says. Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
tonionio Posted February 20, 2007 Share Posted February 20, 2007 Is your new server running Windows? If not, it could be a number of things. No cURL, missing certificate, bad htaccess files. Install the diagnostics script and see what that says. Â dynamoeffects, Thank you for your reply. I checked that the server is running on Linux 2.6.15.6-INQUENT. I didn't use SSL on my oSC, so, it would not be missing certificate. also, I cannot run the diagnostics script, due to it require to run on SSL mode. the CURL support is enabled and CURL Information is "libcurl/7.15.1 OpenSSL/0.9.7l zlib/1.2.3" Please advise....or further suggestion? 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.