Jump to content

morehawes

Members
  • Content count

    173
  • Joined

  • Last visited

Everything posted by morehawes

  1. Hi all, I have just started playing with the shiny v2.3.1 and have run into an issue with the PayPal Express Checkout payment module that comes pre-installed. Using the sandbox, filling in all of the credentials (Seller Account, API Username, API Password, API Signature) when I run the "Test API Credentials" test script I am getting: ---------------- Failure! The PayPal Express Checkout credentials are not set up correctly for the sandbox environment. array(0) { } ---------------- Telling me that my call to Paypal is failing. The demo at demo.oscommerce.com works correctly so maybe I have missed something. Does anyone have any suggestions? I have gone over the manual to check I am plugging in the right values and all looks correct. Thanks in advance, Joe
  2. morehawes

    osCommerce Online Merchant v2.3.1 paypal express

    OK so despite having cURL and libcurl installed and tested working this still appears to be a cURL issue. Thankfully I noticed that there is a non cURL fallback already included in the Paypal Express payment module. Using this as a work around I was able to get the success message in the “Test API Credentials” script and successfully place a test order using the Paypal sandbox. To get OSC to use the non cURL fallback in this file: Catalog > includes > modules > payment > paypal_express.php Change: if (function_exists('curl_init')) { To: if (FALSE) { Must be a server configuration issue. I hope this helps someone.
  3. morehawes

    osCommerce Online Merchant v2.3.1 paypal express

    *bump* Has anyone who has had this problem found a solution? Thanks
  4. morehawes

    osCommerce Online Merchant v2.3.1 paypal express

    Hi, I am having the same problem - I have cURL and libcurl installed and tested working.
  5. morehawes

    PayPal Express Checkout in v2.3.1

    Thanks for the reply. I had thought the problem might be cURL too but it is installed. From php's phpinfo() function: curl cURL support enabled cURL Information libcurl/7.19.3 zlib/1.2.1.2 libidn/0.5.6 Very odd. Anyone have any other thoughts? Thanks.
  6. morehawes

    PayPal Express Checkout in v2.3.1

    My apologies, could a mod please move this to osCommerce Online Merchant v2.x > Add-Ons > Payment Modules? Thanks!
  7. Hi everyone, I am using the following osCommerce contribution to accept Paypal pro payments : http://addons.oscommerce.com/info/5660 PayPal Website Payments Pro (UK) Direct Payments. v1.1 (Harald Ponce de Leon 22 Jan 2008) with no modifications made to this payment module. I am running oscommerce 2.2 rc2a. Card payments are working fine for Visa and Mastercard but Maestro is not going through. It comes back with the following error : "Error The provided credit card information is invalid. Please try again." When a incorrect address is provided for a Maestro card the correct error is given which implies that it is partially working : "Error A match of the Shipping Address City State and Postal Code failed. Please try again." Has anyone ever encountered similar problems? I would really appreciate it if anyone could help. Many thanks!
  8. morehawes

    PayPal Pro (UK) Direct Payments Maestro Problem

    Hi, thanks for your reply. As well as posting on the forum yesterday I also contacted Paypal. They just came back with this reply : "Maestro recently requires to go through 3DSecure. Please review below: https://www.paypal-business.co.uk/3DSecure.asp " I know Paypal have written their own OSC contribution for Paypal Pro which deals with 3DSecure (https://cms.paypal.com/uk/cgi-bin/?&cmd=_render-content&content_ID=developer/library_plugins_oscommerce) but this is a major install and massively complicated because of the modifications I have made to checkout. I am at a bit of a loose end and have just disabled Maestro for the time being. Anyone else have any ideas?
  9. morehawes

    Multi-Stores Multiple Shops Support

    Hi all. I would love to get the opinion of someone with experience of Multi-Stores! :rolleyes: The company I work for have a main store and a secondary store which work together using Multi-Stores which is working great! However I am in the final stages of re-writing the main store from scratch and we decided to develop this without Multi-Stores. But, we would like to keep the secondary store alive as it still generates orders. So my task is to orphan this store so it runs by itself. I am half way through doing this but wanted to see if anyone has any thoughts on my approach: Move the database to the same account on our server as the secondary store (...done!) Copy over the admin folder from the main store to the secondary store (...done!) Change both includes/configure.php so the catalog and the copied admin interface talks to the copied database (...done!) Copy over the images directory from the main store to the secondary store (was a symlink before) This is a pain because it's large but I can't see another way of doing it. All done? ... Any thoughts or comments would be massively appreciated! Thanks.
  10. morehawes

    One Page Checkout Support

    Hi, i've not looked into this specifically for one page checkout but one common problem I have found with STS is if the page outputs anything before the HTML begins i.e. before: <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> (or similar) Then this is ignored by STS. So check for print/echos before the HTML begins, though if it's good code there shouldn't be any. As I say i'm not sure about this but it's always a good place to start looking.
  11. morehawes

    installing and testing add-ons

    Hi, Ideally you would make a copy of the store (i.e. files and database) either on another domain (or sub domain) or even better running on your local computer. You won't need to start from scratch - instead copy the files and copy the database and change the necessary details in the includes/configure.php admin/includes/configure.php files.
  12. morehawes

    One Page Checkout Support

    Hi, thanks for the suggestion. All the javascript is present and no errors are being thrown, but I agree this does look like a JS problem. This on has got me scratching my head! Anyone else experiencing this issue?
  13. morehawes

    One Page Checkout Support

    Hi everyone - very happy to see this has now been released for free :D I have this up and running however I am experiencing an odd problem - when Javascript is enabled in my browser the "sign in" and "change address" button links do nothing. They don't navigate away from the page or anything. However with Javascript disabled they take me to the correct pages. Any ideas? Many thanks.
  14. morehawes

    AJAX Single Page Checkout

    Thanks alot for the info Burt - thats really helpful. Cheers.
  15. Hi all, I came across this contribution (http://addons.oscommerce.com/info/6521) which I installed on a test shop and it looks really nice. However it's quiet new with no support thread that I can see so I was wondering if anyone has any experience of this contribution? Obviously check out is a pretty big deal so any feedback would be great! Ta! ;)
  16. morehawes

    AJAX Single Page Checkout

    Thanks for the reply, but I was more after users experience to see how it performed on a live site as apposed to information from it's creators. Cheers.
  17. morehawes

    Wishlist 3.0 Support Thread

    Not sure, I would revert to your backup and try the install from scratch. I remember reading lots of warnings about that on install so I have a sneaky suspicion that something has gone wrong there.
  18. morehawes

    Wishlist 3.0 Support Thread

    From a quick check it appears that if the item gets turned off you can't delete it from the list, but if quantity is zero you can. It's working fine for me :)
  19. Just wanted to say a BIG thanks for this! Very nice :D
  20. morehawes

    [contribution] Simple Template System (sts)

    Thanks for your reply - I was just wanting to remove the HTML comments from the output but was having trouble finding where it was being produced. Your post was the missing clue and I found that they were being produced by the get_javascript() function in includes/functions/sts.php where I can remove the <!-- start $commentlabel //--> and <!-- end $commentlabel //--> markup (and not $tmpstr ;) ). Thanks!
  21. morehawes

    Wishlist 2.0 Support Thread

    Apologies, I appear to have posted the above in the 2.0 support thread when it should go in the 3.0. Please can an admin remove my post and I will re-post in 3.0. Sorry for this. :blush:
  22. morehawes

    Wishlist 3.0 Support Thread

    Hi everyone, great contribution! I just thought I would post a CSS alternative to the wishlist infobox that I wrote to fit in with the CSS Infoboxes contribution in case anyone like me uses both contributions: <?php /* $Id: wishlist.php,v 3.0 2005/04/20 Dennis Blake osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Released under the GNU General Public License */ require_once(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WISHLIST); ?> <!-- wishlist //--> <div class="column"> <div class="column_header"> <div class="column_header_right"><h4><?php echo BOX_HEADING_CUSTOMER_WISHLIST . ' ' . '<a href="' . tep_href_link(FILENAME_WISHLIST), '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';?></h4></div> </div> <?php if (is_array($wishList->wishID) && !empty($wishList->wishID)) { reset($wishList->wishID); if (count($wishList->wishID) < MAX_DISPLAY_WISHLIST_BOX) { $wishlist_box = " <ol>\n"; $counter = 1; while (list($wishlist_id, ) = each($wishList->wishID)) { $wishlist_id = tep_get_prid($wishlist_id); $products_query = tep_db_query("select pd.products_id, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where pd.products_id = '" . $wishlist_id . "' and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' order by products_name"); $products = tep_db_fetch_array($products_query); $wishlist_box .= " <li>" . $counter . ". "; $wishlist_box .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id'], 'NONSSL') . '">' . $products['products_name'] . '</a></li>' . "\n"; $counter++; } $wishlist_box .= " </ol>\n"; } else { $wishlist_box = " <ul>\n <li>" . sprintf(TEXT_WISHLIST_COUNT, count($wishList->wishID)) . "</li>\n </ul>\n"; } } else { $wishlist_box = " <ul>\n <li>" . BOX_WISHLIST_EMPTY . "</li>\n </ul>\n"; } echo $wishlist_box; ?> </div> <!-- wishlist_eof //-->
  23. morehawes

    Wishlist 2.0 Support Thread

    Hi everyone, great contribution! I just thought I would post a CSS alternative to the wishlist infobox that I wrote to fit in with the CSS Infoboxes contribution in case anyone like me uses both contributions: <?php /* $Id: wishlist.php,v 3.0 2005/04/20 Dennis Blake osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Released under the GNU General Public License */ require_once(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WISHLIST); ?> <!-- wishlist //--> <div class="column"> <div class="column_header"> <div class="column_header_right"><h4><?php echo BOX_HEADING_CUSTOMER_WISHLIST . ' ' . '<a href="' . tep_href_link(FILENAME_WISHLIST), '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';?></h4></div> </div> <?php if (is_array($wishList->wishID) && !empty($wishList->wishID)) { reset($wishList->wishID); if (count($wishList->wishID) < MAX_DISPLAY_WISHLIST_BOX) { $wishlist_box = " <ol>\n"; $counter = 1; while (list($wishlist_id, ) = each($wishList->wishID)) { $wishlist_id = tep_get_prid($wishlist_id); $products_query = tep_db_query("select pd.products_id, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where pd.products_id = '" . $wishlist_id . "' and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' order by products_name"); $products = tep_db_fetch_array($products_query); $wishlist_box .= " <li>" . $counter . ". "; $wishlist_box .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id'], 'NONSSL') . '">' . $products['products_name'] . '</a></li>' . "\n"; $counter++; } $wishlist_box .= " </ol>\n"; } else { $wishlist_box = " <ul>\n <li>" . sprintf(TEXT_WISHLIST_COUNT, count($wishList->wishID)) . "</li>\n </ul>\n"; } } else { $wishlist_box = " <ul>\n <li>" . BOX_WISHLIST_EMPTY . "</li>\n </ul>\n"; } echo $wishlist_box; ?> </div> <!-- wishlist_eof //-->
  24. morehawes

    Site Search Plus

    Thanks Jack - thats what I figured but just wanted to get your take on it. Cheers!
  25. morehawes

    Site Search Plus

    Hi Jack, thanks for the great contribution! The results returned are spot on. I am however running into some performance sluggishness on my store which has 4500 products (unsurprisingly!). We're talking around 15 seconds for the query to run when entered directly into phpMyAdmin. I'm on a dedicated server so power isn't really an issue – any ideas on how this could be improved, or would you recommend going back to the drawing board? Again big thanks!
×