Jump to content

tkw829

Members
  • Content count

    14
  • Joined

  • Last visited

About tkw829

  • Birthday 08/30/1968

Profile Information

  1. tkw829

    Official PayPal IPN Support Thread

    I believe the file you need to modify is the ipn.php not the checkout_process.php because this file is bypasses by this contribution.
  2. Does anyone know if this contributions supports the notion of an "if modified since header" to cut down on crawlers?
  3. tkw829

    Paypal Gift Certificates

    I'm using Paypal Gift Certificates along with PayPal basic payments via IPN. If a customer utilizes a gift certificate code at the PayPal site, nothing is reported back to me, and the order email makes it look like the customer paid the entire order amount from their credit/paypal account. Is their anything reported back via IPN that can be grabbed and put into the order totals as a line item for gift certificates?
  4. tkw829

    Official PayPal IPN Support Thread

    Jeff, The code your looking for is in the ipn.php file in /catalog/ext/modules/payment/paypal_ipn. In this file it is specifically in the email section and has a comment that looks like this: // Customer Email template variable It should be about 1-3 lines from this point.
  5. tkw829

    Shopping Cart Status

    As I understand it(please forgive me if I'm wrong), If a customer goes to the paypal site, pays for the order, and does not click the 'return to merchant' link their items will remain in the cart. If this is the case, what should be done to remove the items from the cart if they have in fact paid for the items.
  6. tkw829

    PayPal IPN & Option Type Feature - HELP!

    What version of the IPN module do you have? I think only the most recent one handles the issue of orders not being generated if a customer doesn't click the final link.
  7. Options attributes sort: I have found this solution to work for me in the customer history area. I'm sure that the exact same thing will work on the admin side: In /catalog/includes/classes/order.php Change this:(approx. line 115) $attributes_query = tep_db_query("select products_options, products_options_values, options_values_price, price_prefix from " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . " where orders_id = '" . (int)$order_id . "' and orders_products_id = '" . (int)$orders_products['orders_products_id'] . "'"); To this: $attributes_query = tep_db_query("select popt.products_options, popt.products_options_values, popt.options_values_price, popt.price_prefix, popr.products_options_id from " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . " popt, " . TABLE_PRODUCTS_OPTIONS . " popr where popt.orders_id = '" . (int)$order_id . "' and popt.orders_products_id = '" . (int)$orders_products['orders_products_id'] . "' and popr.products_options_name = popt.products_options"); After doing this, you can verify in the customers order history. This will sort by product options id(The order in which you set up options on the admin side). Now I'll be the first to admit that I'm not a SQL guru, so make sure you backup your file before trying this. On the admin side there is an order.php in /catalog/admin/includes/classes and the process should be identical.
  8. tkw829

    Official PayPal IPN Support Thread

    Anyone having problems with order status changes can add this to the list of things to try: Try typing the fully qualified url into a browser for the ipn.php file - e.g. http://www.mydomain.com/ext/modules/paymen...pal_ipn/ipn.php When I did this I got the following error: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory I ended up putting the proper php.ini in each directory leading up to ipn.php and everything started working. I hope this works for someone else as this caused me much grief. :angry: But now I'm all smiles: :) If you don't get an error than unfortunately this is not the fix. If you get a different type of error, it will atleast shed some light on what's happening when paypal sends the acknowledgement. This really is a great contribution and its received some unfair bashing, but everyone should remember that this module was created with blood, sweat and plenty of tears.
×