Jump to content

aromacraft

Members
  • Content count

    61
  • Joined

  • Last visited

About aromacraft

  • Birthday 10/03/1979

Profile Information

  • Real Name
    Marc
  • Location
    Elland, West Yorkshire
  • Website
  1. aromacraft

    [Contribution]Paypal IPN - Devosc

    Any help Would be Appreciated we corrently take Pay Pal and Checks But recently we changed to a faster server got the shop working fine again and noticed we had 2 orders Pending that number is shown if admin cp but when i go to orders.php but they not there after manual putting the order number in the address bar i get them but im unble to delete them just set them to canceld and the there still not dissplayed Check orders are Fine Just paypal Any sugestions appreciated Many Thanks Marc
  2. aromacraft

    [Contribution]Paypal IPN - Devosc

    Hi there i have sorted the problem with the order number Tempararly... but have just noted a small probelm The Low order fee is not being sent (w00t). What can i do to fix this Many Thnaks Marc Turner Aromacraft
  3. Gotta say i have the same problem as you 2 if i put in the incorrect password it it says error incorrect password. but when i put admin@localhost and admin as pass word it just reloads the admin page i have tried it with php 5 first and thought that was causing it. so reloaded php 4.3 and is the same. i have also tried 2.1 and 2.3 of the contrib with the same affect any help would be greatly appreciated Marc
  4. aromacraft

    PayPal - Buyer has to create account

    Yup it is Allready taken 4 payment via it Works a dream the paypal Ipn mod also sends there addy detail across as well.. saving non paypal member even more time. http://www.oscommerce.com/community/contributions,1753 :thumbsup: :thumbsup: :thumbsup: :thumbsup: I dropped worldpay as well (saved a couple of quid there) Marc P.s you do need a paypal Business or Premium Account (cost to you for this type of account ?0) B)
  5. aromacraft

    [Contribution]Paypal IPN - Devosc

    Hi there Im only a noob at this but i would appreciate some help please I currently run the Scramble order number contrib this has proved really handy in hiding actual order numbers and generating a unique order number. the Paypal plugin has proved just as excelent but there is one problem when the order email is sent out (via paypal it attatches the origonal Order number not the scrambeld order number) as far as i can see the email is sent from this code catalog\includes\modules\payment\paypal\classes\osC\Order.class.php $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $this->orderID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . $this->accountHistoryInfoURL . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; all i need is to change EMAIL_TEXT_ORDER_NUMBER . ' ' . $this->orderID . "\n" . so it calls the scrambled order number in the read me the code to call the scrambled order number is // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . I have inserted this and now i don't recive any emails at all just wondering if some one may be able to help Many Thanks for any help you may be able to give Marc Turner :thumbsup: :thumbsup: :thumbsup:
  6. Hi Thanks for the great contrib i have just installed page cache 1.5 and it is seams to have a few probs with this contrib i.e Once Enabled i get Warning: main(includes/languages//header_tags.php): failed to open stream: No such file or directory in /home/sites/aromacraft.co.uk/public_html/includes/header_tags.php on line 15 Warning: main(includes/languages//header_tags.php): failed to open stream: No such file or directory in /home/sites/aromacraft.co.uk/public_html/includes/header_tags.php on line 15 Fatal error: main(): Failed opening required 'includes/languages//header_tags.php' (include_path='.:/usr/share/pear') in /home/sites/aromacraft.co.uk/public_html/includes/header_tags.php on line 15 i have edited the includes/header_tags.php on line 15 with no luck and was wonering if any of you had any suggestions Any help would be greatly appreciated Thanks Marc
  7. aromacraft

    [Contribution] Ultimate SEO URLs v2.0

    Hi Chemo Just thought i'd say Hi and thanks for a excelent contrib definatly one of the top 3 I have used.. :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup: Thanks Marc Aromacraft P.s Your versions 1.x couldent get it to work but this went on without a problem. :thumbsup:
  8. aromacraft

    Scrambled Order Numbers

    Hi Rich Thanks i will start putting some debug lines in and trying to figure out what is going on.. but other than the checkout success it's Fine. and i'm going to be incoporating it into the LIVE site on the 5 Feb and missout the checkout success FOR NOW (i won't let code get the better of me lol) as i have got about 5 more contribs to incoporate for the site by then as well and have them tested. When i find the fix (Fingers Crossed) i will let you know. and all the help you have given has be greatly appreciated.... Marc T and Thanks for a Excelent Contrib. :thumbsup: :thumbsup: :thumbsup: Only temporary ? Ok is see your point. I did forget to mention Hair Loss though :thumbsup:
  9. aromacraft

    Scrambled Order Numbers

    Hi There Thanks for the pm Rich. Im posting the reply here so there is a record if some one else has the same problem..... Right then here we go.... Yep i get a page displayed with the procesed order number which is scrambled equal to zero. and as well it is how i copy and pasted it. I've done this my self many times and i'm sure i will do it again.. lol :D But its always one of the first things i check along with making sure i put the code in correctly :thumbsup: This was the easy part :P at least i thought never got a error just a blank page and the code when i took it out. // >>> BEGIN ADD_ORDER_NUM_TO_CUSTOMER_CONFIRMATION // Display order number // >>> BEGIN SCRAMBLED_ORDER_NUMBER echo 'Your order number is...<h3>' . randomise_order_num($orders['orders_id']) . '</h3>Please make a note of this and quote it in any correspondence with us.<br><br><br>'; // <<< END SCRAMBLED_ORDER_NUMBER // <<< END ADD_ORDER_NUM_TO_CUSTOMER_CONFIRMATION all i got was a blank page ??????????? and a final note i would like to confirm that oscommerce should come with a health warning ***** Please note prelonged exposure to OScommerce Problems Causes Temparary Insanity ******* :D :thumbsup: Marc
  10. aromacraft

    Scrambled Order Numbers

    Hi Rich Thanks For the Help Just spent the better part of the morning looking for the problem ..... i've looked at the code on checkout sucsess and nothing stands out ....... Im Completly Baffled at this as it is the first time i have edited the Checkout_success.php not to sure why all i can think is it mat be some other part of the checkout prosses that might be wrong???????????? <?php /* $Id: checkout_success.php,v 1.49 2003/06/09 23:03:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // >>> BEGIN SCRAMBLED_ORDER_NUMBER require('includes/functions/scrambled_order_num.php'); // <<< END SCRAMBLED_ORDER_NUMBER // if the customer is not logged on, redirect them to the shopping cart page if (!tep_session_is_registered('customer_id')) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'update')) { $notify_string = 'action=notify&'; $notify = $HTTP_POST_VARS['notify']; if (!is_array($notify)) $notify = array($notify); for ($i=0, $n=sizeof($notify); $i<$n; $i++) { $notify_string .= 'notify[]=' . $notify[$i] . '&'; } if (strlen($notify_string) > 0) $notify_string = substr($notify_string, 0, -1); tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SUCCESS); $breadcrumb->add(NAVBAR_TITLE_1); $breadcrumb->add(NAVBAR_TITLE_2); $global_query = tep_db_query("select global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'"); $global = tep_db_fetch_array($global_query); // >>> BEGIN SCRAMBLED_ORDER_NUMBER $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "' order by date_purchased desc limit 1"); $orders = tep_db_fetch_array($orders_query); echo 'ARRAY='.$orders.'<br />'; // Should print "ARRAY ....bla bla..." echo '-----<br />'; foreach($orders as $key => $v) { // Should print all the values returned print " ".$key." -> '".$v."'<br />"; } echo '-----<br />'; if ($global['global_product_notifications'] != '1') { // <<< END SCRAMBLED_ORDER_NUMBER $products_array = array(); $products_query = tep_db_query("select products_id, products_name from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$orders['orders_id'] . "' order by products_name"); while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name']); } } ?> <!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="<? echo THEMA_STYLE;?>"> </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('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="4" cellpadding="2"> <tr> <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br> <?php // >>> BEGIN ADD_ORDER_NUM_TO_CUSTOMER_CONFIRMATION // Display order number // >>> BEGIN SCRAMBLED_ORDER_NUMBER echo 'Your order number is...<h3>' . randomise_order_num($orders['orders_id']) . '</h3>Please make a note of this and quote it in any correspondence with us.<br /><br /><br />'; // <<< END SCRAMBLED_ORDER_NUMBER // <<< END ADD_ORDER_NUM_TO_CUSTOMER_CONFIRMATION if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; $products_displayed = array(); for ($i=0, $n=sizeof($products_array); $i<$n; $i++) { if (!in_array($products_array[$i]['id'], $products_displayed)) { echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>'; $products_displayed[] = $products_array[$i]['id']; } } echo '</p>'; } else { echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; } ?> <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="50%"><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarFrom"><?php echo CHECKOUT_BAR_DELIVERY; ?></td> <td align="center" width="25%" class="checkoutBarFrom"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <td align="center" width="25%" class="checkoutBarFrom"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> <td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_FINISHED; ?></td> </tr> </table></td> </tr> <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.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'); ?> ????? Once again thanks for your help Marc
  11. aromacraft

    On The Fly Watermark Enhanced 1.1

    Hi there and thanks fot A great Contrib. My Problem lies in the fact that my rivials ar steeling my pics and using them for there own website they have removed them once we caught them but we wonder who we havent caught. <_< We came across you contrib and looks Great we have started installing it on our test site (my Pc and have encounted a few problems) as soon as the .htaccess is loded all pics exsept .SWF Swish file dissapeer. I assomed it must be the root link in the.ht file and here is what i have tried C:/apache2triad/htdocs/catalog/images/image.php?%{REQUEST_FILENAME} /apache2triad/htdocs/catalog/images/image.php?%{REQUEST_FILENAME} /htdocs/catalog/images/image.php?%{REQUEST_FILENAME} /catalog/images/image.php?%{REQUEST_FILENAME} /localhost/catalog/images/image.php?%{REQUEST_FILENAME} None of the above work have you any sugestions Or where could i find the tool Many Thanks for any help you could give Marc T
  12. aromacraft

    Scrambled Order Numbers

    Sorry Nothing I double checked the end result and Nothing is being printed. I Even Checked the end Souce Code with find ARRAY no luck Thanks Marc
  13. aromacraft

    Scrambled Order Numbers

    Hi Rich Thanks for the quick responce it is much apreciated. Unfortunaly the replacment code has made no changes ?????? It is still producing the same Order number = 0 :huh::huh::huh: I'm Still a Complete NOOB but trying to learn ... If this sounds like complete Gibberish Just ignor it. but could the final Print Code Be calling the right information ?????? Sorry if it makes no sence but i dont like handing my problems to other people to sort out in there spare time... just trying to offer some help.. Many Thanks For you help and Brilliant Contrib Marc Thanks for the <br> tip will start changing them now
  14. aromacraft

    Scrambled Order Numbers

    Hi Richard. Any help you could give would be greatly apreciated ..... I would seem to have the same problem as one of your previos post's on checkout success the order number that is being shown is WXQ-509032644 and yes it is as you said before = order number 0 i have gone over the code several times And i cant find a typo or where i have gone wrong (maybe i can't see it for looking lol :'( ) Every where else is fine (of what i can see) it is verson 1.5 im installing. If you could advise me where to look and what could be causing it this is the code for checkout_success.php // >>> BEGIN SCRAMBLED_ORDER_NUMBER require('includes/functions/scrambled_order_num.php'); // <<< END SCRAMBLED_ORDER_NUMBER $global = tep_db_fetch_array($global_query); // >>> BEGIN SCRAMBLED_ORDER_NUMBER $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "' order by date_purchased desc limit 1"); $orders = tep_db_fetch_array($orders_query); if ($global['global_product_notifications'] != '1') { // <<< END SCRAMBLED_ORDER_NUMBER $products_array = array(); <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br> <?php // >>> BEGIN ADD_ORDER_NUM_TO_CUSTOMER_CONFIRMATION // Display order number // >>> BEGIN SCRAMBLED_ORDER_NUMBER echo 'Your order number is...<h3>' . randomise_order_num($orders['orders_id']) . '</h3>Please make a note of this and quote it in any correspondence with us.<br><br><br>'; // <<< END SCRAMBLED_ORDER_NUMBER // <<< END ADD_ORDER_NUM_TO_CUSTOMER_CONFIRMATION if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; If any help can be given it will be greatly appreciated :thumbsup: :thumbsup: Many Thanks Marc T www.aromacraft.co.uk
  15. aromacraft

    Pass osCommerce session IDs into Flash

    :D :D Hi Chris This is what i could not understand. By defining it <param name="movie" value="header.swf?osCsid=<?php echo $_GET['osCsid']; ?>" /> it would not call the session id, all i'd recived in the url was ....../catalog/index.php?osCsid=<?php%echo%$_GET[\'osCsid\']> It would post something to this effect, baisicly just copying the deffinition to the url after trial and error i got it to post a session id but it changed every time you used a link (My First post on here), fixed this by using the $sid command that is used in STS for session id in links so i decided to give it a try it didn't work with flash so i merged both together and hay presto it works. Over this weekend i'm going to try what i have done on a fresh Osc and see the results my guess that your origonal code will work but my rehash won't on a "non" STS shop, Could you let me know if you have had anyone else with STS installed in there shop managed to get the origonal code to work.. Many Thanks Marc Turner o:) o:)
×