VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: mohtashimj on February 23, 2021, 11:39:00 AM

Title: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: mohtashimj on February 23, 2021, 11:39:00 AM
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
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: AH on February 23, 2021, 12:31:57 PM
look in your payment log files ov your server
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: mohtashimj on February 23, 2021, 13:15:01 PM
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.
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: AH on February 23, 2021, 15:54:21 PM
then you need to figure out if this is a valid paypal ipn  address

VM thinks it is not
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: mohtashimj on February 24, 2021, 09:13:47 AM
So how can we skip this checking process so that we can't these error and email notifications?
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: AH on February 24, 2021, 11:15:02 AM
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
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: jenkinhill on February 24, 2021, 12:26:35 PM
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)
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: AH on February 24, 2021, 13:30:37 PM
OOps - Thanks Jenkinhill

I did not consider the version - Not sure if it existed back then - they can always check
Title: Re: Receiving Email - An error with your payment method paypal on your store (Name)
Post by: mohtashimj on February 24, 2021, 14:36:35 PM
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.