Jump to content

safoo

Members
  • Content count

    485
  • Joined

  • Last visited

Everything posted by safoo

  1. safoo

    Page cache by Chemo

    Just put it in the URL. Doesn't the 'code' know before redirecting that it has successfully performed the add notification? If so put success=1 (or 0 for error) in the products page URL that it redirects to and then in the code for the product page, have it check for $success == 1 or $success == 0 and display the relevant message. Look at examples in my post above to see what I mean when I say add it to the URL. Is this along the lines of what you are trying to do?
  2. safoo

    Page cache by Chemo

    I believe page cache treats site.com/product_info.php differently than site.com/product_info.php?var=1 and differently again than site.com/product_info.php?var=2. You can try something like that. Note that site.com/product_info.php?var=2 will be cached after the first page load. For your application, you should have the page forward to site.com/product_info.php?products_id=XX&mode_int=0 site.com/product_info.php?products_id=XX&mode_int=1 site.com/product_info.php?products_id=XX&mode_int=2
  3. safoo

    Weird Problem with AIM module

    Do you have any other contributions added that effect the checkout process such as Fast Easy Checkout etc.? Some people have reported problems with A.net AIM and various contributions. Did you test the AIM module fully with real credit cards before? Perhaps double check your installation of A-Net AIM.
  4. safoo

    column_right.php or column_left.php

    I understand you are new here, but you need to have patience. Multiple postings will not help in getting an answer. Also, be independent and try things for yourself! If you open up and look at includes/column_left.php (or column_right), you will see many instances of: require(DIR_WS_BOXES . 'FAKE_NAME.php'); Those all display in order from top to bottom. So, if you want your new box to be the first one to show, then just find the first 'require' statement in the file, and just above it, add your require statement for the new box: require(DIR_WS_BOXES . 'NEW_BOX.php'); //this will show first require(DIR_WS_BOXES . 'WAS_FIRST_BOX.php'); //this will now show second Same logic applies for bottom. Just find the last 'require' statement and add your new box require statement on the very next line. If you add the require statement in column_left.php, it will show up on the left column of the website. Similarly for column_right.php. The reason no one out of ten people replied to your post, is that you could have easily opened the file yourself and put the require statement in different places to see how it shows up on your website; this does not require that you have much programming experience. Hope that answers your question.
  5. safoo

    Going bald

    Did you add this code twice: //begin PayPal_Shopping_Cart_IPN if (strtolower($order->info['payment_method']) == 'paypal' && isset($HTTP_GET_VARS['referer']) && $HTTP_GET_VARS['referer'] == 'ipn'){ ?> <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_PAYPAL, tep_get_all_get_params(array('action','oID','referer'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> <?php } else { ?><?php //begin PayPal_Shopping_Cart_IPN if (strtolower($order->info['payment_method']) == 'paypal' && isset($HTTP_GET_VARS['referer']) && $HTTP_GET_VARS['referer'] == 'ipn'){ ?> <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_PAYPAL, tep_get_all_get_params(array('action','oID','referer'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> <?php } else { ?> and <?php }//else not paypal //end PayPal_Shopping_Cart_IPN ?><?php }//else not paypal //end PayPal_Shopping_Cart_IPN ?></tr> Don't mean to sound rude since you seem to be new here, but if you backed up your file (as you always should), you can just upload it and get your store working again. Also, since you this problem occured while you were adding the paypal contribution, all you need to do is search for the paypal changes in the file to see what the error is. All I did was search 'paypal' in my browser to see that you had duplicate additions.
  6. safoo

    Moving Paypal link to shopping cart?

    I believe that can only be done with paypal express checkout contribution.
  7. safoo

    fast easy checkout

    Look through createaccount3.php. You have "//fast easy checkout end" appearing outside of the php tags somewhere in that file, assuming this does not show up on any other web page.
  8. safoo

    Google Checkout Level 2

    He put whatever he could out there. It is now up to other forum members to try to fix out the bugs and develop this further to get this to production state. Let's not call out Derick, but try to complete the contribution.
  9. http://www.oscommerce.com/community/contri...ll/search,chemo http://www.oscommerce.com/community/contributions,1152 the 2nd one is a MS1 contribution but I believe it works. It also allows for multiple printing of invoices in internet explorer.
  10. safoo

    [Contribution]Paypal IPN - Devosc

    This is not a setting for the contribution but rather a setting in your paypal account settings. Go to paypal.com and change the settings there. This may only be allowed for business or premier accounts.
  11. safoo

    [Contribution]Paypal IPN - Devosc

    Canceled Order Status does not mean that the customer has cancelled the order. It means that the customer started the order using Paypal payment and pressed the cancel button while at the paypal website. Your admin section has the store this somehow because the customer can still log into their account and continue the same checkout from the order history page and complete the payment. The Set Canceled Order Status setting is so you can separate the that were cancelled by the customer at the paypal site. So it is not a bug. The setting is correctly used. Did you try with the gift voucher balance? From what I understand they should be able to complete the same order at a later time using paypal through their order history so the same totals would apply. Also, from what I understand, the CCGV data is updated when the IPN is received but I may be wrong on that.
  12. safoo

    Google Checkout Level 2

    Upload the test_google_functions.php to your website and point your browser to it. it will tell you if you have the 2 requirements on your server.
  13. hmm...it shouldnt be off by one unless you just deleted the most recent order before placing another order....
  14. safoo

    [Contribution]Paypal IPN - Devosc

    Create a new order status such as 'paypal pending'. then in your paypal settings in the oscommerce admin, set: Set Pending Notification Status - Paypal Pending Set Order Status - Pending This will set the status as paypal pending whenever a IPN is not received. Then you will have to manually check at paypal.com to see if payment was received. In your case where a customer checks out and cancels, it will still show up as paypal pending.
  15. safoo

    osC_JCSSMenu MS2-2.2

    Yes you can. Look where the infoboxcontents are created and add a link in there. From what I recall, the thread in the annoucnements section did have a post by devosc on how to implement the menu in a horizontal fashion.
  16. safoo

    Google Checkout Level 2

    It seems you already have a 300 group. You will need to change that to a different number such as 301 or 302. Please note you will also have to change the 300 in the other SQL inserts to the same number you use for the group ID.
  17. Comment out that code and use the following: // BOF: Authorize Net AIM Invoice Number Fix // Calculate the next expected order id to pass as x_Invoice_Num $new_order_id = ''; $inv_id = tep_db_query("select orders_id from " . TABLE_ORDERS . " order by orders_id DESC limit 1"); $last_order_id = tep_db_fetch_array($inv_id); $new_order_id = $last_order_id['orders_id']+1; // EOF: Authorize Net AIM Invoice Number Fix
  18. safoo

    Dua pricing mod

    do a search for 'quantity' in the contributions section. You would find this: http://www.oscommerce.com/community/contri...search,quantity
  19. safoo

    Ultimate SEO Mod Problem

    is that after setting pconnect to false in both admin/includes/configure.php and catalog/includes/configure.php?
  20. hmm... did you check for whitespace at the bottom of the file?
  21. safoo

    Ultimate SEO Mod Problem

    try this: set pconnect to false in both admin/includes/configure.php and catalog/includes/configure.php
  22. safoo

    Using Ultimate SEO URL

    If you have installed the contribution correctly, you can still use the same base URL and it will correctly convert to the SEO URL once the person clicks the link.
  23. yes you are missing the column 'account_name' in the orders table. for the first warning you probably have extra white spaces in checkout_process.php. Open the file and look at the last line. REmove any spaces or characters after the closing "?>". I know you are new here, but next time search the forums before posting. A search for 'unknown column' or 'headers already sent' would have probably got you the answer.
  24. safoo

    YaCC (Yet Another Computer Creator)

    pretty good. I like how you have radio buttons instead of select box. Also, great that parts can be dependent on other parts.
  25. safoo

    YaCC (Yet Another Computer Creator)

    take a look at 'custom computer creator' (CCC) for some ideas. For every new build, CCC creates a new product (invisible from the catalog) that gets added to the customers cart. This allows the possibility of the customer to go back and edit the product.
×