Jump to content

niviche

Members
  • Content count

    54
  • Joined

  • Last visited

Profile Information

  • Real Name
    Niviche
  1. niviche

    Official PayPal IPN Support Thread

    Please disregard my post above this one. The bug was coming from an error in my installation. Sorry.
  2. niviche

    Official PayPal IPN Support Thread

    This contribution works great, excerpt for a little bug that I have: if the cart is only virtual (only download products), no pending order is created when the customer arrives at checkout_confirmation. She / he can still go to Paypal and pay for the order, but no order is updated when she / he returns, as there wasn't any order in the database in the first place. Similarily, if the customer orders a virtual and a non virtual product, goes to checkout_confirmation, then modify the content of his cart and delete the non-virtual ("real") products, the pending order is not updated when he comes back to checkout_confirmation. I guess there's a loop somewhere in paypal_ipn.php that inserts or updates the order only if the content is not virtual, or only if a shipping method has been selected, but I can not find it anywhere. Can anybody help?
  3. niviche

    Official PayPal IPN Support Thread

    Terra, I was wrong when I wrote that this worked. Here's the behavior with this modification: 1. when the customer builds his cart and goes to Paypal, there is no number after "order" in paypal. 2. if the customer goes back one page, lands back on checkout_confirmation.php, and then hits the order button again, then an order number appears on the Paypal page. Could it be that $cart_PayPal_IPN_ID is empty / not passed the first time, and that the customer has to go back one step for this variable to have something in it? Is there any way to correct this?
  4. niviche

    Customer Private Messages

    Congratulations for this excellent contribution. I have a small problem with it, though: the messages disappear after the first time they are read. When the customer logs in and hits "account.php", he sees the message. But then, even if he doesn't click on "delete message", the message is deleted. It will not reappear if the customers hits refresh or goes somewhere and comes back to "account.php". Is this the normal behavior of this contribution?
  5. niviche

    Official PayPal IPN Support Thread

    It works perfectly, thank you very much.
  6. niviche

    Official PayPal IPN Support Thread

    Terra, I am trying to pass on to Paypal the order number in the "item_name" parameter, so that, even with everything aggregated, the customer is not paying for "Mom and Pop's shop", but for "Mom and Pop's shop order 12345". I try to change in paypal_ipn: $parameters['item_name'] = STORE_NAME; to $parameters['item_name'] = STORE_NAME . ' order ' . $order_id; But Paypal still doesn't show the order number. Do you know how I should format this line to pass this variable? Thank you very much.
  7. niviche

    NEW! Complete Order Editing Tool!

    Thank you. For some reason, my browser had cached the Contribution page, and I couldn't see the corrected package. I have it now, and all works fine. Congratulations once again for this excellent contribution.
  8. niviche

    NEW! Complete Order Editing Tool!

    As you told me a few posts above, I added the following code to \admin\includes\functions\oe_functions.php: // Function : tep_hml_no_oe_quote // Arguments : string any string // Return : strips apostrophes from strings //Used with Order Editor to workaround problem with apostrophes, double quotes, and line breaks function tep_html_no_oe_quote($string) { $string=str_replace(''', '', $string); $string=str_replace("'", "", $string); $string=str_replace('"', '', $string); $string=preg_replace("/\\r\\n|\\n|\\r/", "<BR>", $string); return $string; } ///end function tep_html_no_oe_quote And now, when I try to edit an order, I get: Parse error: parse error in c:\program files\easyphp1-8\www\catalog\admin\includes\functions\oe_functions.php on line 26 the line 26 is this one: $string=str_replace(''', '', $string);
  9. niviche

    NEW! Complete Order Editing Tool!

    Thank you. I did this, but am getting a "parse error" in this code. :(
  10. niviche

    NEW! Complete Order Editing Tool!

    I just installed the new version of this contribution (v2.8.4), and get the following error when I try to install a product (after clicking on its name or model): Fatal error: Call to undefined function: tep_html_no_oe_quote() in c:\program files\easyphp1-8\www\catalog\admin\edit_orders.php on line 2207 The 2.8.3 version was working just fine. Where should I add this function for the contribution to work?
  11. niviche

    Customers Drop Down In Orders List

    Did you modify this orders.php file while installing another contribution? This line is in the default version of this file on a regular MS2 installation. Try to find the following, around line 353: <?php if (isset($HTTP_GET_VARS['cID'])) { $cID = tep_db_prepare_input($HTTP_GET_VARS['cID']); $orders_query_raw = "select o.orders_id, o.customers_name, o.customers_id, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from " . TABLE_ORDERS . " o left join " . TABLE_ORDERS_TOTAL . " ot on (o.orders_id = ot.orders_id), " . TABLE_ORDERS_STATUS . " s where o.customers_id = '" . (int)$cID . "' and o.orders_status = s.orders_status_id and s.language_id = '" . (int)$languages_id . "' and ot.class = 'ot_total' order by orders_id DESC"; the line you were looking for should be right below it, and the code to insert for this contribution should come in between.
  12. niviche

    Customers Drop Down In Orders List

    You are right, there were artifacts in this query left from another contribution installed on my site. I'm updating the contribution page with this.
  13. This is the support thread for: Customers Drop Down In Orders List http://www.oscommerce.com/community/contributions,4818 This contribution adds a drop down menu in the orders list in the admin section. You can then choose to see only orders by a specific customer. Customers are ordered alphabetically by last name.
  14. This is the support thread for: Quick stock update from the product listing page http://www.oscommerce.com/community/contributions,4812 This contribution adds an input box in the products / categories listing, on which you can enter a new stock level for the product. In this case, you don't need to edit the product to enter a new stock.
  15. niviche

    Official PayPal IPN Support Thread

    It might do, and my attempts at having this contribution work with IPN were unsuccessful. However, I was just trying to get my site to work in the good old way with my post above. :)
×