News:

Looking for documentation? Take a look on our wiki

Main Menu

Paypal acting weired since 3.0.16 continues in 3.17.4

Started by dirkb, August 17, 2016, 11:58:41 AM

Previous topic - Next topic

dirkb

Hi ... anybody else problems with paypal recently ?

Everything was working fine with J 3.5.1 / VM 3.0.16 - then that those Joomla 3.6.0 / 3.6.2 updates showed up. Then paypal started to act weired. Suposingly the payment goes through, but customers do not receive any confirmation mails. Somewhere I read that Joomla changed something in the mail function, so I updated to 3.0.17.4 ... but still getting emails "... an error with paypal occured ... " and reference to "paypal.12.log.php" ... the funky thing is, I have Joomla logging enabled, and the log directory is set and writable, but I do not see anything in the error.log or com_virtuemart.log.php files, and the paypal.12.log.php is nowhere to be found, so I cannot even find specifics about said error ... it not logging paypal ... its turned on in the paypal configuration ... Ideas ? thanks d.

dirkb

so, I found the paypal log file ... was hidden from me on a level I did not check.

So ... log file shows info below. Can´t figure out really what is means or how to fix it. Read something about "reverse proxy" or something. Could that be ?
I´m quiet irritated, since it was working before the 3.16 update, after that, it got funky. Help ?

2016-08-26 22:04:00 DEBUG checkPaypalIps REMOTE ADDRESS:
2016-08-26 22:04:00 ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = .
                        The remote address of the script posting to this notify script does not match a valid PayPal IP address

GJC Web Design

for some reason it isn't detecting the remote ip address that is sending the IPN so it fails it

just swap back the .16 paypal plugin to see if the update caused it
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

dirkb

thanks for the tip, but my gut tells me it something different. also, I applied 2 virtuemart updates 3.0.16 and 3.0.17.4 and I think I saw that there were made changes to the paypal files, would love to stay updated on those.

I found 2 topics ... one where Milbo commented on the reverse proxy thing ... http://forum.virtuemart.net/index.php?topic=128518.msg442586#msg442586

another extern about a similar issue ... https://kb.sucuri.net/cloudproxy/Troubleshooting/fixing-virtuemart-issues

another with a different approach ... https://www.rupostel.com/phpBB3/viewtopic.php?f=5&t=1070&p=3691&hilit=paypal

... another, where I do not find the bookmark right now, talked about issues with the comma separeting the paypal IP lists ...

that was the complete entry in the log file and above entry ...

2016-08-26 22:04:00 DEBUG PaymentNotification, order_number:: 4ZJR07596
2016-08-26 22:04:00 DEBUG PaymentNotification, virtuemart_paymentmethod_id:: 12
2016-08-26 22:04:00 DEBUG checkPaypalIps PRODUCTION: Array
(
   
  • => 2.19.45.231
        [1] => 173.0.81.33
        [2] => 173.0.81.1
        [3] => 216.113.188.202
        [4] => 216.113.188.203
        [5] => 216.113.188.204
        [6] => 66.211.170.66
        [7] => 173.0.88.66
        [8] => 173.0.88.98
        [9] => 173.0.84.66
        [10] => 173.0.84.98
        [11] => 173.0.80.00
        [12] => 173.0.80.01
        [13] => 173.0.80.02
        [14] => 173.0.80.03
        [15] => 173.0.80.04
        [16] => 173.0.80.05
        [17] => 173.0.80.06
        [18] => 173.0.80.07
        [19] => 173.0.80.08
        [20] => 173.0.80.09
        [21] => 173.0.80.10
        [22] => 173.0.80.11
        [23] => 173.0.80.12
        [24] => 173.0.80.13
        [25] => 173.0.80.14
        [26] => 173.0.80.15
        [27] => 173.0.80.16
        [28] => 173.0.80.17
        [29] => 173.0.80.18
        [30] => 173.0.80.19
        [31] => 173.0.80.20
        [32] => 173.0.82.126
        [33] => 173.0.88.67
        [34] => 173.0.88.99
        [35] => 173.0.84.99
        [36] => 173.0.84.67
        [37] => 173.0.88.69
        [38] => 173.0.88.101
        [39] => 173.0.84.69
        [40] => 173.0.84.101
        [41] => 173.0.88.68
        [42] => 173.0.88.100
        [43] => 173.0.84.68
        [44] => 173.0.84.100
        [45] => 173.0.81.1
        [46] => 173.0.81.33
        [47] => 64.4.240.0
        [48] => 64.4.240.1
        [49] => 64.4.240.2
        [50] => 64.4.240.3
        [51] => 64.4.240.4
        [52] => 64.4.240.5
        [53] => 64.4.240.6
        [54] => 64.4.240.7
        [55] => 64.4.240.8
        [56] => 64.4.240.9
        [57] => 64.4.240.10
        [58] => 64.4.240.11
        [59] => 64.4.240.12
        [60] => 64.4.240.13
        [61] => 64.4.240.14
        [62] => 64.4.240.15
        [63] => 64.4.240.16
        [64] => 64.4.240.17
        [65] => 64.4.240.18
        [66] => 64.4.240.19
        [67] => 64.4.240.20
        [68] => 118.214.15.186
        [69] => 118.215.103.186
        [70] => 118.215.119.186
        [71] => 118.215.127.186
        [72] => 118.215.15.186
        [73] => 118.215.151.186
        [74] => 118.215.159.186
        [75] => 118.215.167.186
        [76] => 118.215.199.186
        [77] => 118.215.207.186
        [78] => 118.215.215.186
        [79] => 118.215.231.186
        [80] => 118.215.255.186
        [81] => 118.215.39.186
        [82] => 118.215.63.186
        [83] => 118.215.7.186
        [84] => 118.215.79.186
        [85] => 118.215.87.186
        [86] => 118.215.95.186
        [87] => 202.43.63.186
        [88] => 69.192.31.186
        [89] => 72.247.111.186
        [90] => 88.221.43.186
        [91] => 92.122.143.186
        [92] => 92.123.151.186
        [93] => 92.123.159.186
        [94] => 92.123.163.186
        [95] => 92.123.167.186
        [96] => 92.123.179.186
        [97] => 92.123.183.186
    )

    2016-08-26 22:04:00 DEBUG checkPaypalIps REMOTE ADDRESS:
    2016-08-26 22:04:00 ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = .
                            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.45.231,173.0.81.33,173.0.81.1,216.113.188.202,216.113.188.203,216.113.188.204,66.211.170.66,173.0.88.66,173.0.88.98,173.0.84.66,173.0.84.98,173.0.80.00,173.0.80.01,173.0.80.02,173.0.80.03,173.0.80.04,173.0.80.05,173.0.80.06,173.0.80.07,173.0.80.08,173.0.80.09,173.0.80.10,173.0.80.11,173.0.80.12,173.0.80.13,173.0.80.14,173.0.80.15,173.0.80.16,173.0.80.17,173.0.80.18,173.0.80.19,173.0.80.20,173.0.82.126,173.0.88.67,173.0.88.99,173.0.84.99,173.0.84.67,173.0.88.69,173.0.88.101,173.0.84.69,173.0.84.101,173.0.88.68,173.0.88.100,173.0.84.68,173.0.84.100,173.0.81.1,173.0.81.33,64.4.240.0,64.4.240.1,64.4.240.2,64.4.240.3,64.4.240.4,64.4.240.5,64.4.240.6,64.4.240.7,64.4.240.8,64.4.240.9,64.4.240.10,64.4.240.11,64.4.240.12,64.4.240.13,64.4.240.14,64.4.240.15,64.4.240.16,64.4.240.17,64.4.240.18,64.4.240.19,64.4.240.20,118.214.15.186,118.215.103.186,118.215.119.186,118.215.127.186,118.215.15.186,118.215.151.186,118.215.159.186,118.215.167.186,118.215.199.186,118.215.207.186,118.215.215.186,118.215.231.186,118.215.255.186,118.215.39.186,118.215.63.186,118.215.7.186,118.215.79.186,118.215.87.186,118.215.95.186,202.43.63.186,69.192.31.186,72.247.111.186,88.221.43.186,92.122.143.186,92.123.151.186,92.123.159.186,92.123.163.186,92.123.167.186,92.123.179.186,92.123.183.186The Order ID received was: 4ZJR07596

GJC Web Design

the remote address is clearly empty

2016-08-26 22:04:00 DEBUG checkPaypalIps REMOTE ADDRESS:
2016-08-26 22:04:00 ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = .

as i remember it the reverse proxy fix is when the remote ad is an array
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

dirkb

Hmmm ... damn. What else could it be ? I put an older paypal folder up there where I´m sure it was working, but then I have to do that again when the next update comes ... feels wrong to me.

GJC Web Design

you need to find why the remote ip isn't detected... you can set up a Paypal sandbox etc and send ipns to you site
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