News:

Looking for documentation? Take a look on our wiki

Main Menu

Pay[al Error Messages

Started by Traveller47, September 16, 2021, 20:02:29 PM

Previous topic - Next topic

Traveller47

I am using Joomla 3.10.2, VM version 3.88 (plugins all 3.8.8) and PHP 7.3.27.

I have recently started receiving error messages from VM Paypal orders. A typical error reads:
*********************
Hello,

An error with your payment method paypal on your store xxxx Shop. The details are logged in the file paypal.3.log.php

. The VirtueMart Team

******************************

The log file paypal.3.log.php shows the following info (I have chaned the IP addresses but the error IP is not included in the following list of accepted IP addrsses):

*******************
2021-09-15 10:59:08 ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = 183.0.81.xxx.

                        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: 183.0.92.ss,183.0.81.tt,183.0.81.yy,183.0.81.zz,The Order ID received was: QMPK070
2021-09-15 10:59:08 MESSAGE plgVmOnPaymentNotification mb_data: Array
*******************************

Can anyone please advise what might be done to fix ths problem? I have red numerous posts on similar subjects but cannot resolve the issue.
Replies appreciated.

Jörgen

These are not secret IP adresses, could You please tell us what IP adresses where used for the IPN calls that were denied?

I am working on a solution to this issue.

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

Traveller47

OK, sorry. The actual IP addresses were as follows:
2021-09-15 10:59:08 ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = 173.0.81.140.

                        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: 173.0.92.8,173.0.81.33,173.0.81.1,173.0.81.65,The Order ID received was: QMPK070

Jörgen

This is a valid IP adress for Paypal. I will give a solution for this tomorrow. You can easily add this IP for now in your Paypal payment method, but there are ip ranges that right now will not be decoded by the plugin.
I will add this decoding and make sure it gets added to the core.

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

Tryer

Thank you so very much. This is wonderful advice and help which I really appreciate.

GJC Web Design

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

stargazer1682

Quote from: GJC Web Design on September 21, 2021, 22:28:29 PM
@ Jörgen .. did u see this post?

http://forum.virtuemart.net/index.php?topic=146573.msg525192#msg525192

Cheers

John
I came across this thread, as I'm looking into the same issue as the OP. In fact my log lists the same IP; and I see it listed on that other thread John linked as one of the "new" IPs PayPal has started using.  So if I'm reading everything between these two threads, we should enter all of the new IPs quoted in the second thread into the extra IPs for IPN check field, separated by comas.  Is that all correct?

Before finding this thread, I had seen something about updating VM 3.8.8 (which is what I have installed) to 3.8.9; which, if I was reading the information right, might also address this by updating the PayPal plugin, but I can't seem to find the download to install that.

jenkinhill

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

QuoteSo if I'm reading everything between these two threads, we should enter all of the new IPs quoted in the second thread into the extra IPs for IPN check field, separated by comas.  Is that all correct?

the problem is some of the ips that VM notified are complete blocks which are 100's of ips so manually adding them isn't really feasible.

http://forum.virtuemart.net/index.php?topic=146573.msg525192#msg525192 is generating the 100s by code .. but I haven't tested but assume ok...

this is a change to the plugins/vmpayment/paypal/paypal/helpers/paypal.php file
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