Paypal Payment Notification problems since upgrade

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137109

Since I upgraded from Hikashop Essential 2.2.0 to Business 2.2.3 I've had some serious Paypal problems. I upgraded on December 12th, and since then I've had 4 out of 18 orders with problems where they will not automatically confirm after Paypal payments. This has never happened before in thousands of orders using Hikashop.

Basically, customers checkout on my site, are redirected to Paypal, make the Paypal payment. I receive a notification from Paypal of a successfully completed Paypal payment - but I don't receive an email from Hikashop letting me know a new order was confirmed. When I check, the order is still marked as 'created'. In the order history, there is nothing except the creation date.

What is going on? Right now I have to manually confirm orders which is simply not an option long-term, I don't have the resources to do it.

nucleus-soundlab.com
2.2.3 business
2.5.14 Joomla
PHP 5.3.26

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 11 months ago #137159

Hi,

This means that HikaShop is not receiving the payment notifications from PayPal. It's not linked to the upgrade.
Please read the documentation here:
www.hikashop.com/support/documentation/i...or.html#notification

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137240

Hi nicolas,

Thanks for the reply.

What I am saying is this NEVER happened before I upgraded, in over a year of Hikashop usage. Now it is happening randomly (as I said, 4 out of 18 orders since the upgrade)

I checked the documentation you provided, but everything there looks like it should be in order. I have not made any changes to my website in a few months, other than upgrading to HikaShop business.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 11 months ago #137276

HikaShop does not randomly ignore payment notifications, even in the latest version (we try to avoid adding such features ;)).
So I don't see how that could be possible that it comes from the upgrade.
It must be something else.
What do these orders have in common compared to the others ?

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137303

Nothing in common, so far as I can tell! Except that they all happened in the last 3 days.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137307

Ok, I just got another order and it also did not process properly. Apparently every order in the last 3 days has not processed properly. So it isn't random, it's just broken now and I can't say why.

I turned on 'debug' in the Paypal plugin and checked the log after the last order. I didn't get anything useful at all. This is the contents of the logfile:

"Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification Could not load any order for your notification "

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137422

Any ideas nicolas? I really need this working - about to leave on holidays and I can't manually confirm orders during that time! I could give you Superuser access if that's helpful.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137429

Nicolas,

I just got an email from Paypal:
"Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

nucleus-soundlab.com/index.php?option=co...t&lang=en&Itemid=123

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

Thank you for your prompt attention to this issue."

What is going on? Please, I need some ideas here. Paypal will disable my IPNs if I don't do something.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 11 months ago #137518

Hi,

The error "Could not load any order for your notification " in your payment log indicates that HikaShop received the payment notification from PayPal but without any data in it (the POST must have been emptied).

Super admin access won't help me help you. If it happened starting 4 days ago, it means that something changed on your website at that time, when payment notifications started not working anymore. Do you remember what was changed at that time ? Maybe you installed an extension ? And changed the configuration of an extension ? If you rollback your changes does it work ?
At least, it doesn't seem to be related to the upgrade since it happened several days after the upgrade (and there is no reason that it wouldn't work after the upgrade anyway).

Normally, all the potential issues are listed here:
www.hikashop.com/support/documentation/i...or.html#notification

And most of the times, it is caused by a system plugin or a joomla menu access issue. In your case, it doesn't look like a menu access issue so I would first heck the system plugins.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137650

Hi Nicolas,

Thanks for the reply. Unfortunately I'm still having the problem.

The only plugin I have added lately is the WebEngage poll plugin. I uninstalled that completely. Now I've had more orders come through, but still payment notification publishing is not working.

I even checked my FTP server 'plugin' and 'component' folders for anything that is more recent than the Hikashop upgrade (by looking at modified dates), and there are no modified folders newer.

Any other ideas? I also reinstalled Hikashop - no change.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 11 months ago #137700

Hi,

You should look in your apache access log for the payment notification URLs maybe it will give you some clues as to why the POST data is missing. The payment notification URLs are like that:

index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=paypal&tmpl=component&lang=en

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137708

Hi Nicolas,

I checked the logs. I'm not sure exactly what to look for other than the URL. Here is one of the logs from yesterday (IPN not working):
173.0.81.1 - - [23/Dec/2013:13:26:53 -0500] "POST /index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=en&Itemid=123 HTTP/1.1" 200 8651 "-" "PayPal IPN ( www.paypal.com/ipn )

And here is one from when it was working:
173.0.81.1 - - [30/Nov/2013:13:14:38 -0500] "POST /index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=en&Itemid=123 HTTP/1.1" 200 8192 "-" "PayPal IPN ( www.paypal.com/ipn )"

Would it be helpful if I attached the whole log?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 11 months ago #137766

Hi,

So this logs means that the payment notification is still received by your website.
Turn on the debug mode of the paypal plugin and do a payment again.
Then, look in the payment log file. You should now have additional traces regarding the data received by the PayPal plugin.
You should have additional lines at the bottom of the log file, just before the last "Could not load any order for your notification ".

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 11 months ago #137779

Hi Nicolas,

I never turned off debug - it's been on since this problem started. I went back and checked the log again and it's identical as far as I can tell. Just the same "could not load any order for your notification" repeated...

Not only that but in my ftp software it shows this logfile as last modified 12/7/2013. That doesn't sound like anything has been logged in weeks, unless I'm misunderstanding?

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 10 months ago #137981

Any other ideas Nicolas? As you say, the payment notification is received by my website, according to the logs. Where does that leave us?

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 10 months ago #137982

I just discovered the Paypal IPN History page. Not sure if this info would prove helpful in troubleshooting my problem?

My IPN history says the transaction retries 16 times and then fails. Well, actually some retry a random number of times and then are considered 'sent' although the order never successfully confirms in Hikashop. But most are failed with 16 retries. I've taken a screengrab of both the failed IPN and an IPN with 14 retries and attached them.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 10 months ago #138147

The access log of you website says that the request is received by your website.
The payment log of HikaShop says that it received it but without any POST data.
That means that all the information of the payment notification has been removed by something on your website before reaching HikaShop for some reason. It could come from one of the system or hikashop plugins on your website.

I would recommend to try to deactivate them one by one and see each time if it solves the problem.
Also, I would recommend to open the paypal file (plugins/hikashoppayment/paypal/paypal.php) via FTP and make sure that it was updated to the latest version of HikaShop by looking at the version number in the top comment block of the file.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 7
10 years 10 months ago #138505

Hi Nicolas,

I've been in contact with my hosting provider, Stablehost. I gave them pretty much the same info I gave you and eventually they determined that there was a server-wide problem effecting Paypal IPNs. I was switched to a new physical server and now the problem seems to be fixed!

It is extremely hard to fathom how this could be possible without other people complaining (apparently it was just me and one other with problems). Stablehost blames Paypal. For me, I will probably get hosting elsewhere once my contract with them expires - just to be safe.

Anyway Nicolas, thank you so much for the assistance. I would suggest that in your FAQ about IPN problems, you mention two things:
-Check IPN History in your Paypal dashboard.
-Talk to your server provider about the problem, and provide the IPN History

Happy New Year!

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum