Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

szenasim

Members
  • Content count

    16
  • Joined

  • Last visited

Profile Information

  • Real Name
    Mike Szenasi
  1. szenasim

    Official PayPal IPN Support Thread

    Greetings! Hope someone can help me with this new problem that I am having. I'm sure that someone has had this problem before, but I searched for 2 days and I can't find the answer. I just installed the osC IPN module and it was very easy to install. The IPN part is changing the order status and everything.. its great! The only problem is that I can't see what they ordered in the admin area. When I set it to itemized shopping cart I can see the details in my email, but not in the admin area. If I go aggregate, the only way I can tell is if I log into the customer's account with my master password. It shows it in there, but not in my admin section. Anyone know why? Thanks a million times over if someone has an answer. Thank you thank you thank you. Mike
  2. Greetings! My name is Mike and I have been trying to get the final part of the PayPal IPN contribution working. I have done lots of research so far and have come up with a few answers, but none of them fit my dilemma exactly. Here is the story so far: I installed the regular PayPal payment module but didn't like that if a customer cancels the transaction or doesn't return to the site, it doesn't work very well. I decided to with IPN (Instant Payment Notification) to handle my transactions instead. I went to the contributions page and found "PayPal_Shopping_Cart_IPN" contribution found at "http://www.oscommerce.com/community/contributions,1753". I wasn't sure if it was the best contribution to use or not, but I decided to try it anyways. As it turned out, it worked great... well, almost. The contribution was easy to install and straight-forward (well done to the author). I tested it in the PayPal Sandbox testing environment and it did absolutely everything (correct payments, accurate itemized invoices, all the emails, etc.) except that the IPN didn't quite make it back to my server, thus not updating the order status, not transferring purchased items and not giving me the notification in the admin tool. I got on the horn with 2nd level Merchant Services techs at PayPal and we did some testing. By this time we had put through about 8 orders into the Sandbox environment. Everything was working great except that there wasn't any IPNs coming back. A span of about 6 hours passed between the time of the first Sandbox order and the phone call. Just before the tech did any real testing, I got an IPN back from my first order (6 hours late). Just one. The tech said that the Sandbox environment could be causing the delay and that I should try it out live. I concurred. After dinner, I checked and no other IPNs had come in. I switched everything over to the live environment. I ran some orders through and, to my dismay, received the same results: no IPNs coming back, but everything else was working fine. Why, oh why is the IPN not hitting my server. The next day I called Merchant Services and we found out that the problem was caused by a firewall on the GoDaddy servers (the company that I am hosting my site through). We did some research and came up with lots of results... but they are directed at a different contribution... or so it seems. Here is what I found: Brian_C writes: "Anyone hosting on godaddy.com and using this module will need to make the following change to /ext/modules/payment/paypal_ipn/ipn.php. Find (at or around line 71): curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); Add immediately after: curl_setopt($ch, CURLOPT_PROXY, "HTTP://64.202.165.130:3128"); This is needed for communicating with PayPal." Many people concur with this finding and even PayPal has links to stuff like that as they are aware of the problem. The only problem is that... I don't have a directory that starts with "/ext" at all or a "/paypal_ipn" directory either. Since many people have come up with a solution like Brian_C, either I'm using a different contribution, or I'm looking in the wrong place for that folder. I looked and I can't even find any curl files in there (unless they are deep in the classes folders). If you know anything about this, please lend a hand. Thanks so much for reading this far, Frustrated Canadian, Mike
  3. Greetings! My name is Mike and I have been trying to get the final part of the PayPal IPN contribution working. I have done lots of research so far and have come up with a few answers, but none of them fit my dilemma exactly. Here is the story so far: I installed the regular PayPal payment module but didn't like that if a customer cancels the transaction or doesn't return to the site, it doesn't work very well. I decided to with IPN (Instant Payment Notification) to handle my transactions instead. I went to the contributions page and found "PayPal_Shopping_Cart_IPN" contribution found at "http://www.oscommerce.com/community/contributions,1753". I wasn't sure if it was the best contribution to use or not, but I decided to try it anyways. As it turned out, it worked great... well, almost. The contribution was easy to install and straight-forward (well done to the author). I tested it in the PayPal Sandbox testing environment and it did absolutely everything (correct payments, accurate itemized invoices, all the emails, etc.) except that the IPN didn't quite make it back to my server, thus not updating the order status, not transferring purchased items and not giving me the notification in the admin tool. I got on the horn with 2nd level Merchant Services techs at PayPal and we did some testing. By this time we had put through about 8 orders into the Sandbox environment. Everything was working great except that there wasn't any IPNs coming back. A span of about 6 hours passed between the time of the first Sandbox order and the phone call. Just before the tech did any real testing, I got an IPN back from my first order (6 hours late). Just one. The tech said that the Sandbox environment could be causing the delay and that I should try it out live. I concurred. After dinner, I checked and no other IPNs had come in. I switched everything over to the live environment. I ran some orders through and, to my dismay, received the same results: no IPNs coming back, but everything else was working fine. Why, oh why is the IPN not hitting my server. The next day I called Merchant Services and we found out that the problem was caused by a firewall on the GoDaddy servers (the company that I am hosting my site through). We did some research and came up with lots of results... but they are directed at a different contribution... or so it seems. Here is what I found: Brian_C writes: "Anyone hosting on godaddy.com and using this module will need to make the following change to /ext/modules/payment/paypal_ipn/ipn.php. Find (at or around line 71): curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); Add immediately after: curl_setopt($ch, CURLOPT_PROXY, "HTTP://64.202.165.130:3128"); This is needed for communicating with PayPal." Many people concur with this finding and even PayPal has links to stuff like that as they are aware of the problem. The only problem is that... I don't have a directory that starts with "/ext" at all or a "/paypal_ipn" directory either. Since many people have come up with a solution like Brian_C, either I'm using a different contribution, or I'm looking in the wrong place for that folder. I looked and I can't even find any curl files in there (unless they are deep in the classes folders). If you know anything about this, please lend a hand. Thanks so much for reading this far, Frustrated Canadian, Mike
  4. szenasim

    Official PayPal IPN Support Thread

    ACK! There's more than one Mike in the last few posts... Me and port411! Oh well. I'm gonna try posting this in a different thread... this is very full.
  5. szenasim

    Official PayPal IPN Support Thread

    Rich, Thanks for taking a look at this issue. I ran a test and it appears that currently customer's messages are not one of the things that are being passed to paypal. There is no trace of the comments in any emails or in the transaction details on paypal. I did, however, find the comments in the admin section of osC under the Customers --> Orders section, as you would expect. What I didn't find in that section was the actual products that they ordered. I would currently have to check my email or paypal account for the cart contents. Hopefully the goDaddy firewall issue that I'm having with the "PayPal_Shopping_Cart_IPN" contribution will fix that issue. Mike
  6. szenasim

    Official PayPal IPN Support Thread

    Hiya! I'm having the same problem that Brian was trying to fix in post 1340 where ipn.php wasn't behaving correctly because my host is GoDaddy and they have a firewall in place that prevents it from doing what it needs to do. I've done all the research on it and it seems really easy to fix; many people have given the answer that Brian did. The only problem is that... I don't have the file "/ext/modules/payment/paypal_ipn/ipn.php". In fact, I don't even have a "ext/" directory... as far as I know. My guess is that the fix listed on all of the sites is for a different contribution than what I am using. I am using the "PayPal_Shopping_Cart_IPN" contribution found at "http://www.oscommerce.com/community/contributions,1753". More specifically, I installed the version 3.0a posted by Dave Rees on Jan 21, 2005. I haven't done any of the updates for this contribution yet because I just wanted to get it working and then make it pretty. The updates don't seem to have anything to do with the problem I am having anyway. In conclusion, I am looking for the write combination of code that allows ipn.php to interact with GoDaddy, using the "PayPal_Shopping_Cart_IPN" contribution. If that isn't possible, it is still possible to uninstall that contribution and install a different one, but that sure is a pain. Any ideas? Mike
×