News:

Looking for documentation? Take a look on our wiki

Main Menu

Always the same "pending order" after paypal payment

Started by andre-83, September 04, 2013, 22:39:23 PM

Previous topic - Next topic

andre-83

#15
sure. The first installation I made was 2.0.22a, downloaded as vm + aio from vm's site. Then I updated through live update both vm and aio. However now I'll try to install a "fresh v2.0.22c + aio" over my "updated v2.0.22c + aio". I'll let you know asap

EDIT: VM & aio installed. made a transaction. This is its log:
2013-09-06 12:26:46
message: plgVmConfirmedOrder order number: 09d2032

2013-09-06 12:27:20
message: paypal_data 3.03   09d2032   Ineligible   C4XV3QQR5M6TG   0.00   05:27:17 Sep 06, 2013 PDT   Completed   windows-1252   ciro   0.45   3.7   5sdkmd6f4tkd5q5jbppqnac0o5   verified   test.seller.92@gmail.com   1   AiPC9BjkCyDFQXbSkoZcgqH3hpacAfx-YW1edY16.kvlI7F2QeQvTOJD   test.buyer.92@gmail.com   8NJ72992TT775810B   instant   esposito   test.seller.92@gmail.com      3XVGLQ8T4W3HC   web_accept   Order Number: 09d2032   EUR      IT   1   0.00   5sdkmd6f4tkd5q5jbppqnac0o5      0.00   99e98c647f334

2013-09-06 12:27:20
message: checkPaypalIps: 173.0.82.126 server is:173.0.82.126

2013-09-06 12:27:20
message: checkPaypalIps:  OK

2013-09-06 12:27:20
message: _processIPN Fputs: POST /cgi-bin/webscr HTTP/1.1
User-Agent: PHP/5.2.17
Referer: imecprofessional.altervista.org/index.phpoption=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component
Server: Apache
Host: www.sandbox.paypal.com:443
Content-Type: application/x-www-form-urlencoded
Content-Length: 849
Connection: close

cmd=_notify-validate&mc_gross=3.03&invoice=09d2032&protection_eligibility=Ineligible&payer_id=C4XV3QQR5M6TG&tax=0.00&payment_date=05%3A27%3A17+Sep+06%2C+2013+PDT&payment_status=Completed&charset=windows-1252&first_name=ciro&mc_fee=0.45&notify_version=3.7&custom=5sdkmd6f4tkd5q5jbppqnac0o5&payer_status=verified&business=test.seller.92%40gmail.com&quantity=1&verify_sign=AiPC9BjkCyDFQXbSkoZcgqH3hpacAfx-YW1edY16.kvlI7F2QeQvTOJD&payer_email=test.buyer.92%40gmail.com&txn_id=8NJ72992TT775810B&payment_type=instant&last_name=esposito&receiver_email=test.seller.92%40gmail.com&payment_fee=&receiver_id=3XVGLQ8T4W3HC&txn_type=web_accept&item_name=Order+Number%3A+09d2032&mc_currency=EUR&item_number=&residence_country=IT&test_ipn=1&handling_amount=0.00&transaction_subject=5sdkmd6f4tkd5q5jbppqnac0o5&payment_gross=&shipping=0.00&ipn_track_id=99e98c647f334

2013-09-06 12:27:20
message: _processIPN FROM IPN VALIDATION:HTTP/1.0 500 Server closed connection without sending any data back
Date: Fri, 06 Sep 2013 12:27:17 GMT
Server: Apache
Content-Type: text/plain

Server closed connection without sending any data back at /usr/lib/perl5/site_perl/5.8.8/Net/HTTP/Methods.pm line 345.


2013-09-06 12:27:20
message: _processIPN NO ANSWER FROM PAYPAL

2013-09-06 12:27:20
message: _processIPN valid_ipn:

2013-09-06 12:27:20
message: paypal_data _processIPN FALSE

andre-83

problem still not solved.. if somebody can understand why this error appears, please help me!  :'(

alatak

Hello

QuoteServer closed connection without sending any data back at /usr/lib/perl5/site_perl/5.8.8/Net/HTTP/Methods.pm line 345.
Interesting.
Can you contact me via PM, so i can check on your site why

andre-83

sent. If there's some other detail you need tell me

alatak

Hello
I do not know why you have this problem.

I have google your error message. I found this post that migth help you http://www.webhostingtalk.com/showthread.php?t=1172517

carsten888

same issue here with 2.0.22c on a live webshop which work flawless for years.

I get these emails for each time it goes wrong.

QuotePayPal IPN Transaction on your site: Possible fraud

Error code 506. Possible fraud. Error with REMOTE IP ADDRESS = 172.17.1.2.
                        The remote address of the script posting to this notify script does not match a valid PayPal ip address

            These are the valid IP Addresses: 2.19.178.234,173.0.81.1,173.0.81.33,216.113.188.202,216.113.188.203,216.113.188.204,66.211.170.66The Order ID received was: 3cf904474


So I think the paypal ip adresses in the paypal plugin need updating again. I had this issue in VM years ago and adding Paypals new server ip's solved the problem then.

carsten888

here is the fix (at least for this new ip, maybe there are more)

Vm Payment plugin Paypal 2.0.6 (included in AIO 22.0.2c)

file:
plugins/vmpayment/paypal.php
line: 790
$paypal_iplist3 = array('216.113.188.202', '216.113.188.203', '216.113.188.204', '66.211.170.66');
change to
$paypal_iplist3 = array('216.113.188.202', '216.113.188.203', '216.113.188.204', '66.211.170.66', '172.17.1.2');

jakeh

Dear all

I have also been unable to solve a similar IPN and 'payment pending' problem. I have upgraded to VM 2.0.22c on Joomla 2.5.14, including the AIO update.

As far as I can tell following the advice posted in a number of different threads, and from looking at the log files, there are no obvious error messages.

Everything was working as originally set up until a previous upgrade to VM 2.0.21. I have no idea if this is a cause, but it's the only major change that I have made.

I recently checked on the client's Paypal account and saw that IPN and PDT were not enabled, although they were previously and IPN was working fine. I have now set these up and provided the notification URL as advised. The Paypal IPN history settings are not showing an HTTP response and when I access this URL I get a blank page.

I am not a developer, so rely on using components, modules and plug-ins as instructed. Although I can read and amend code if necessary.

I appreciate the volume of advice that there is about this issue, but so far none of the recommendations have solved my problem, so I am reluctantly adding to the discussion.

Any advice gratefully received.

Thanks.

Jake

Live site for this is http://cuisenaire.co.uk/index.php/shop

Jörgen

Hello Carsten

This can´t be right. My guess is that the correct IP address doesn´t get through and doesn´t get visible for Virtuemart. I see this with people that have made PayPal payments via mobile 3G and 4G networks.

Here is a list of trusted PayPal ip addresses. Please correct me if I am wrong:

https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_golivechecklist

Quote
URL IP Address(es)
www.paypal.com    64.4.241.16
   64.4.241.32 to 64.4.241.39
   216.113.188.32 to 216.113.188.35
   216.113.188.64 to 216.113.188.67
api.paypal.com    216.113.188.39
   216.113.188.71
   66.211.168.91
   66.211.168.123
api-aa.paypal.com    216.113.188.52
   216.113.188.84
   66.211.168.92
   66.211.168.124
api-3t.paypal.com    216.113.188.10
   66.211.168.126
api-aa-3t.paypal.com    216.113.188.11
   66.211.168.125
notify.paypal.com    216.113.188.202
   216.113.188.203
   216.113.188.204
   66.211.170.66
developer.paypal.com    66.135.197.163
sandbox.paypal.com    216.113.169.205
www.sandbox.paypal.com    66.135.197.160
api.sandbox.paypal.com    66.135.197.162
api-aa.sandbox.paypal.com    66.135.197.141
ipn.sandbox.paypal.com    66.135.197.164


regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

carsten888

@Jörgen
that seems like a correct list, however VM tells me a different url, so possible fraud. It tells me this once for each of the orders, same ip. While the payments were properly made in Paypal. Each of these was consistently followed by an angry email from a client who wanted to download the extension they paid for.

There has recently been maintenance work at Paypal. So maybe they didn't update their list yet. I dunno.

I am angtiously awaiting the next purchase, see how that goes.

alatak

Hello

QuoteError code 506. Possible fraud. Error with REMOTE IP ADDRESS = 172.17.1.2.
Quotehttps://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_golivechecklist
Yes this  is the correct list of the Paypal IP address.
It is not the first time, that somebody gets during some time that email, and then the problem disappear.
I understand that this can be very annoying.

Ofc, we can find work around like having a white IP list, or checking the IP address as an option, but i don't think it is correct.

carsten888

I did a search on that ip, but it does not seem to be registered.

I am thinking about making a ticket about this issue at Paypal tomorrow.

alatak


carsten888

@alatak
thanks. what does that mean? That paypals callback IPN is redirected by the (hacked?) server my site runs on?

alatak

Hello
I don't really know. Somebody spoofing the IP address ...