News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

PayPal Instant Payment Notification Disabled

Started by carsten888, June 15, 2016, 19:29:10 PM

Previous topic - Next topic

carsten888

I keep getting these emails from paypal:

QuotePlease check your server that handles PayPal Instant Payment Notification (IPN) messages. Messages sent to the following URL(s) are not being received:

http://www.domain.com/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=

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.

Once you or your service provider fix this problem, you or your service provider can resend the failed messages from the IPN History page. If this problem continues, PayPal may disable the IPN feature for your account.

This has worked fine for many years, and since 2 weeks or so I get these emails dayli.

I contacted my host, they can't find anything.
I read the VM documentation but searching for 'IPN' does not return any clickable searchresults.
I read this FAQ: http://forum.virtuemart.net/index.php?topic=122595.0. So I don't have to configure anything on the paypal site.
I searched for an hour but can't find if this url is correct:
index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=

Is this url correct?

I checked the VM log:
Quote2016-06-15 12:56:47 MESSAGE plgVmConfirmedOrder: order number: QL5905956
2016-06-15 12:56:47 MESSAGE plgVmConfirmedOrder: Amount/Currency stored 24 47
so the IPN got through, but the order status was still 'pending'.
I have to check for each order in paypal if the order was paid, then manually confirm if not. Some payment go without problems others not.

How can I get my webshop working again?

VM 3.0.14
J  3.5.1   

jenkinhill

You should be using VM3.0.16 with Joomla 3.5.1 unless you applied the patch to fix the mail issue introduced with J3.5.1 - http://forum.virtuemart.net/index.php?topic=133760.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

and yes.. the url is correct

from the Paypal plug

$post_variables['notify_url'] = JURI::root() . 'index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component' . '&lang=' . vRequest::getCmd('lang', '');

the error will be caused by it not returning a 200 response

what response (header) do you get when u try the url?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

#3
thanks for the quick replies.

@jenkinhill
I just updated to .16.

@GJC Web Design

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
  <base href="http://www.domain.com/index.php" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="description" content="Joomla extensions" />
  <meta name="generator" content="Joomla! - Open Source Content Management" />
  <title>domain</title>
  <link href="/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
  <link rel="stylesheet" href="/components/com_virtuemart/assets/css/vm-ltr-common.css?vmver=9204" type="text/css" />
  <link rel="stylesheet" href="/components/com_virtuemart/assets/css/vm-ltr-site.css?vmver=9204" type="text/css" />
  <link rel="stylesheet" href="/components/com_virtuemart/assets/css/vm-ltr-reviews.css?vmver=9204" type="text/css" />
  <script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
  <script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
  <script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>

<link rel="stylesheet" href="/templates/system/css/general.css" type="text/css" />
</head>
<body class="contentpane">
<div id="system-message-container">
</div>


</body>
</html>


Please note that it sometimes works flawless, and sometimes status stays pending. (debuggers nightmare)
In my previous post is a part of the log. That was one order which was paid for in paypal, but status stayed pending in VM. There where no more lines. Does that mean the IPN from paypal did not get through?




GJC Web Design

No- I meant the headers returned to paypal  -- look on Firebug Net tab to see what is returned as a status to Paypal

200, 500, 303 etc - must be 200
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

Quotelook on Firebug Net tab
Where can I find that?
Its not in the 'tools' section.

GJC Web Design

firebug, firefox webmaster tools or use an online checker

http://tools.seobook.com/server-header-checker/

Date: Fri, 17 Jun 2016 08:03:48 GMT

Server: Apache

X-Powered-By: PHP/7.0.5, PleskLin

P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"

Content-Encoding: gzip

Expires: Wed, 17 Aug 2005 00:00:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Last-Modified: Fri, 17 Jun 2016 08:03:49 GMT

Connection: close


Transfer-Encoding: chunked

Content-Type: text/html; charset=utf-8


200 OK
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

I see. I'm using chrome so used the tool that is in chrome.

index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component

Did I test the right way? Should I PM the domain to you?

GJC Web Design

your making this 100 times more complex than it is

just use an online header checker.-.. google
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

I'm sorry, I didn't know about online-header-check-tool.

HTTP/1.1 200 OK
Date: Mon, 20 Jun 2016 06:00:13 GMT
Set-Cookie: d85de0340d6c0f81dece9375ac5e53da=q0g6mkgqr62tfji5ga8qig9h27; path=/; HttpOnly
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Expires: Wed, 17 Aug 2005 00:00:00 GMT
Last-Modified: Mon, 20 Jun 2016 06:00:04 GMT
Cache-Control: no-cache
Pragma: no-cache
ETag: http://www.domain.com/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 589
Content-Type: text/html; charset=utf-8
X-Backend: web13
Server: PCX/No-Cache
Age: 0
X-Cache-Hit: No
X-Cache-Hits: 0
Accept-Ranges: bytes
Connection: close


GJC Web Design

response is fine->   

HTTP/1.1 200 OK

so this must mean the problem is intermittent -- u need to switch Paypal plugin logging on and study the logs when ever you get a complaint from paypal

check server logs for any fatals etc.. it could be that the server fatals when trying to update/create the order invoice etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

Quoteu need to switch Paypal plugin logging on and study the logs when ever you get a complaint from paypal
will do. Is this the correct setting?

carsten888

meanwhile I was trying to find out if maybe Paypal has more info on why the ipn's are failing. I found that the ipn's which failed have error 500. 16 times it tried to send the ipn and failed.


500 is server error. What does that mean in this context? Paypal can't reach the server (that would be an 404?) or the server responded with an error code after receiving the ipn?

(Thanks for this support!)

GJC Web Design

no - it means the server was reached but then a 500 server error was thrown
u need to find the errors in your server logs
does the pdf invoice creation work when u manually set an order to confirmed?

etc etc

test and searching is all u can do

settings for logging correct
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

pdf-generation works fine when confirming an order.

thank you.

Quoteu need to find the errors in your server logs
ok. *creating new ticket at host*