PayPal IPN sent to URL failing, successful orders show pending.

Started by 100khz, November 21, 2014, 09:56:59 AM

Previous topic - Next topic

100khz

Recently after installing falang for language translation, i am getting this email from paypal the IPN is failing for URLs (i am using VM 2.6.6 on joomla 2.5.27). I am using paypal standard

Exact email from paypal is below:

Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:

http://www.punamflutes.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=
http://www.punamflutes.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=en

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.

I doubt it is language code which is causing issue since IPN were working fine earlier. Now i do not receive any payment notifications also. I have to go to orders and manually confirm them too, then i get Notification from paypal. The orders which are successful still remain in pending status.

Any idea where is the issue and how to resolve this? thanks

GJC Web Design

why do u say
QuoteI doubt it is language code which is causing issue

when you say
QuoteRecently after installing falang for language translation, i am getting this email from paypal the IPN is failing for URLs

seems to me the 2 things are directly related

you need to debug the index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=en call and see what is happening

they don't seem to be failing (if by failing they mean no 200 response)

those links give

Server: nginx/1.6.2

Date: Fri, 21 Nov 2014 14:31:41 GMT

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

Transfer-Encoding: chunked

Connection: keep-alive

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

Cache-Control: no-cache

Pragma: no-cache

Content-Encoding: gzip


200 OK


which looks OK to me - what is Paypal expecting to receive?

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

100khz

Quote from: GJC Web Design on November 21, 2014, 15:33:42 PM
why do u say
QuoteI doubt it is language code which is causing issue

when you say
QuoteRecently after installing falang for language translation, i am getting this email from paypal the IPN is failing for URLs

seems to me the 2 things are directly related

you need to debug the index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=en call and see what is happening

which looks OK to me - what is Paypal expecting to receive?


By language code i mean at the end of the URL, u mentioned above and given in the paypal email as well, it postfixes lang=en, which i thin should be absent since i had only english installed which is default. I suspected that falang is now inserting language code in the URL sent to paypal which paypal is rejecting. o suspected, not sure though.

When i open the url you gave above with my domain name, i see a blank page. thats all. No error, just a blank page. Does it mean its working fine?

Also, a weird thing has started happening is that even a confirmed oder shows pending, and when i manually change it to confirmed, since the payment has been made, i receive the payment confirmation email. perhaps paypal is not able to tell my site back that payment is done.

GJC Web Design

QuoteWhen i open the url you gave above with my domain name, i see a blank page. thats all. No error, just a blank page. Does it mean its working fine?

yes - and it sends a 200 response back to paypal to tell it it is happy

if
Quotesince i had only english installed which is default.
why have you falang installed?

Joomla and VM do multilang without any need of 3rd party extensions - we do all our multi-lang sites with the native Joomla/VM multilang
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

100khz

Quote from: GJC Web Design on November 23, 2014, 23:34:11 PM

Quotewhy have you falang installed?

Joomla and VM do multilang without any need of 3rd party extensions - we do all our multi-lang sites with the native Joomla/VM multilang

I have falang installed for joomla articles and menus in frontend to be translated anf to place language flags on website for people to change the language of their choice. Can we do this with joomla core without any third party component? i thought we cannot.. if i can, i will rather use joomla core for sure.

Will try to uninstall falang and see.

GJC Web Design

Joomla is fully multi-lingual - plenty of tutorials on 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

100khz

Quote from: GJC Web Design on November 24, 2014, 10:48:37 AM
Joomla is fully multi-lingual - plenty of tutorials on Google

great, will try with native joomla and VM translation and see if the IPN issue resolves. Will report back but thanks a lot for your help.

alatak

Hello
QuotePlease check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:

http://www.punamflutes.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=
http://www.punamflutes.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=en

Have you checked that on your access log the HTTP code is 200?

QuoteWhen i open the url you gave above with my domain name, i see a blank page. thats all. No error, just a blank page. Does it mean its working fine?
Yes and no :)

if you just open that url in your browser, then since there is no post data , no code is really executed. So may be you have a fatal error after.

So what you have to do:
1. check your access log to find out if you get a HTTP status code = 200 when paypal calls that URL
2. Go to you php log, and find out if there is a fatal error

alatak

Hello

Some more questions:
1. Did you set an IPN URL in your PayPal account ?
VirtueMart is sending the IPN Notify URl directly via the parameter notify_url.
This parameter overrides all IPN settings you've made in your paypal account.

2. Your problem appears since you are using falang ?