Receiving Email - An error with your payment method paypal on your store (Name)

Started by mohtashimj, February 23, 2021, 11:39:00 AM

Previous topic - Next topic

mohtashimj

Hello Team,

From last few days we are receiving an e-mail with the following message. How to solve it?

Framework: Joomla 3.9.1
(VirtueMart 3.2.2)


-------------------------------------------
Hello,

An error with your payment method paypal on your store East Ringwood JFC Merchandise Shop. The details are logged in the file paypal.3.log.php .
The VirtueMart Team

AH

Regards
A

Joomla 3.10.11
php 8.0

mohtashimj

I have checked the log file mentioned in email and got the below error.

ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = xxx.xx.xx.xx. (This is US IP Address)
                        The remote address of the script posting to this notify script does not match a valid PayPal IP address




Thanks in advanced.

AH

then you need to figure out if this is a valid paypal ipn  address

VM thinks it is not
Regards
A

Joomla 3.10.11
php 8.0

mohtashimj

So how can we skip this checking process so that we can't these error and email notifications?

AH

in paypal configuration second tab

Check IPN provider IP

Set to N

But you may want to find out what ip address is being used to sen IPNs
Regards
A

Joomla 3.10.11
php 8.0

jenkinhill

Was the function to ignore IPN present in the Paypal plugin with VM3.2.2?  (Ignore this comment if mohtashimj updated the pp plugin from the original)
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

AH

OOps - Thanks Jenkinhill

I did not consider the version - Not sure if it existed back then - they can always check
Regards
A

Joomla 3.10.11
php 8.0

mohtashimj

Hello Guys,

Thanks for your feedback's.

Today I have commented the below line of code from the file "plugins/vmpayment/paypal/paypal/helpers/paypal.php" and will keep an eye on this if we will receive same email again for the issue mentioned in my original post.

if (!$this->checkPaypalIps($paypal_data)) {
         return false;
      }

I will also check the PayPal configuration later and will update you on this.

Thanks again.