VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ZaubernLernen on December 16, 2013, 14:07:36 PM

Title: Problems with PayPal in Version 2.0.26
Post by: ZaubernLernen on December 16, 2013, 14:07:36 PM
Hello,

since I updated to 2.0.26 I receive error mails after a customer pays via paypal.

Since then VM dosen't send mail confirmation on orders that are payed by paypal to.

The error message reads like this.

Hello,

An error with your payment paypal on your store ZaubernLernen.info. The details are logged in the file paypal.2.log.php

The VirtueMart Team


The paypal.2.log.php contians this....

2013-12-16 12:54:35 ERROR IPN notification: wrong merchant_email: Array
(
    [paypal_data] => Array
        (
            [mc_gross] => 12.89
            [invoice] => b715060
            [protection_eligibility] => Eligible
            [address_status] => unconfirmed
            [payer_id] => C6TGGPEQS36H4
            [tax] => 0.00
            [address_street] => XXXXXX
            [payment_date] => 04:54:28 Dec 16, 2013 PST
            [payment_status] => Completed
            [charset] => windows-1252
            [address_zip] => xXXXXX
            [first_name] =>
            [mc_fee] => 0.59
            [address_country_code] => DE
            [address_name] => Markus XXXX
            [notify_version] => 3.7
            [custom] => bc1861fc1911bd8fd34e97e6890d28bf
            [payer_status] => verified
            [business] => XXXXXXX
            [address_country] => Germany
            [address_city] => XXXXX
            [quantity] => 1
            [verify_sign] => AUkau1FwogE3kL3qo1vGTARqlijQAIg4LFXEsO0YjuLfSg7-UHgZGuni
            [payer_email] => info@markusbender.de
            [txn_id] => 6ES16215W1943834N
            [payment_type] => instant
            [last_name] => XXXXXXX
            [address_state] =>
            [receiver_email] => info@zaubernlernen.info
            [payment_fee] =>
            [receiver_id] => B29URXQHGUPD2
            [txn_type] => web_accept
            [item_name] => Bestellnummer: b715060
            [mc_currency] => EUR
            [item_number] =>
            [residence_country] => DE
            [handling_amount] => 0.00
            [transaction_subject] => bc1861fc1911bd8fd34e97e6890d28bf
            [payment_gross] =>
            [shipping] => 0.00
            [ipn_track_id] => 3c945da29ce9e
        )

    [merchant_email] => info@ZaubernLernen.info
)


The Merchant Email is defintily correct. We never changed it and since 2.0.26 it dosen't work anymore.

But the payment is done correctly. I receive the money.

Greetings
Markus
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on December 16, 2013, 14:32:37 PM
Hello

You probably have a primary, and a non primary address on your PayPal account

Please change in the file plugins/vmpayment/paypal/paypal/helpers/paypal.php
line 667
            if ($paypal_data['receiver_email']!=$this->merchant_email and $paypal_data['business']!=$this->merchant_email) {


with

Quoteif ($paypal_data['receiver_email']!=$this->merchant_email ) {
Title: Re: Problems with PayPal in Version 2.0.26
Post by: ZaubernLernen on December 16, 2013, 19:00:41 PM
Yes I had more then on mailadress in my paypal account but I had that also before the update.

I deleted the adresses from my paypal acccount and I have now only one. Do I still have to change the code ?

Regards
Markus
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on December 16, 2013, 19:30:26 PM
Hello
Not in that case.
We have added some extra security check for the IPN validation.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: ZaubernLernen on December 17, 2013, 11:24:16 AM
If i delete the other mailadresseses the Problem is still there.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on December 17, 2013, 12:15:45 PM
hello
the reason is paypal returns the email in lower case, and in the paypal payment method there are some uppercase.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on December 21, 2013, 12:52:11 PM
Quote from: alatak on December 16, 2013, 14:32:37 PM
Hello

You probably have a primary, and a non primary address on your PayPal account

Please change in the file plugins/vmpayment/paypal/paypal/helpers/paypal.php
line 667
            if ($paypal_data['receiver_email']!=$this->merchant_email and $paypal_data['business']!=$this->merchant_email) {


with

Quoteif ($paypal_data['receiver_email']!=$this->merchant_email ) {


Hello I'm getting this same issue in VM 2.026a however I cant find those lines in the file you mention.

I'm getting an email each 5 minutes...

paypal.2.log.php where is located?

What you mean by 2 emails? in the config of the plugin we have just one set, in the paypal account maybe 2.

Orders remain pending due to this error.

The line I see there is:

if (strcasecmp($paypal_data['receiver_email'],$this->merchant_email)!=0 ) {

which I have tried replacing by:

if ($paypal_data['receiver_email']!=$this->merchant_email ) {

but has no effect.. I went back to 2.024 c for now.

Regards
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on December 21, 2013, 15:46:14 PM
Hello
Quotepaypal.2.log.php where is located?
the log file is located in your log folder, which is usually the /logs.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: terjef on January 01, 2014, 01:07:56 AM
I have the same problem.

Get the error on mail. I have deleted my other user in PayPal, but still get the error. I get the money, but miss the order in mail because of this (i guess).

The only code i see is also this:

if (strcasecmp($paypal_data['receiver_email'],$this->merchant_email)!=0 ) {

Cant find any log files in my logs folder.

What do i have to do to fix this?

Regards
Terje
Title: Re: Problems with PayPal in Version 2.0.26
Post by: terjef on January 01, 2014, 10:55:03 AM
I have disabled the brute force stop extension. Can this be the problem?? http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/22982 (http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/22982)

I tried with the PayPal in Sanbox mode, and it worked. Just hope it works when going til Production again, or is this different than Sandbox mode?

alatak, do you have any comments on this one?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on January 01, 2014, 11:28:05 AM
Quote from: terjef on January 01, 2014, 01:07:56 AM
Cant find any log files in my logs folder.
The paypal.log file should be located in the folder you have defined as a log folder in Joomla Site > Global Configuration > System Settings > Path to log folder.
If you are using the 'Standard' PayPal Product, you can also test the first half of the PayPal payment in 'Production' mode, if you buy something from your shop using PayPal and click on 'Cancel and return to ....' after you were redirected to the PayPal page. This way you can see if PayPal has received all required data. (I never tested the other PayPal products, but I suppose they display a 'Cancel' button, too)
Title: Re: Problems with PayPal in Version 2.0.26
Post by: terjef on January 01, 2014, 20:31:04 PM
Hmmm. Its not there in log as set in configuration.

I have tested half way on production site and the order got registered in WM as vaiting, but since this dont send any notification it wont be enough to test with.

PayPal recieved the order and amount, so it recives the information from my site.

I have downgraded to 2.0.24c for now, waiting for a fix for this.

Terje
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on January 03, 2014, 06:17:08 AM
Quote from: terjef on January 01, 2014, 10:55:03 AM
I have disabled the brute force stop extension. Can this be the problem?? http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/22982 (http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/22982)

I tried with the PayPal in Sanbox mode, and it worked. Just hope it works when going til Production again, or is this different than Sandbox mode?

alatak, do you have any comments on this one?

I'm not using that plugin and still have that same issue, for now I'm using 2.024C.

Quote from: jjk on January 01, 2014, 11:28:05 AM
Quote from: terjef on January 01, 2014, 01:07:56 AM
Cant find any log files in my logs folder.
The paypal.log file should be located in the folder you have defined as a log folder in Joomla Site > Global Configuration > System Settings > Path to log folder.
If you are using the 'Standard' PayPal Product, you can also test the first half of the PayPal payment in 'Production' mode, if you buy something from your shop and click on 'Cancel and return to ....' after you were redirected to the PayPal page. This way you can see if PayPal has received all required data. (I never tested the other PayPal products, but I suppose they display a 'Cancel' button, too)

Thanks however I believe there is actually an issue with paypal in this version. We noticed we have 3 e-mails in the paypal account and all was processed correctly, maybe the plugin new settings doesnt like the fact that our main e-mail is different from the one set in the plugin configuration at VM2 or the fact that we have one main account and 2 secondary e-mails, something which had no negative effect till version 2.024C.

Ill wait for a future release since 2.026 and 2.026A have several issues which I don't consider worth "stable" versions and then ill check the configuration again,

If we need to use a unique e-mail in paypal account or something has been changed that requires modification in the configuration of Paypal please let us know,

Regards
Title: Re: Problems with PayPal in Version 2.0.26
Post by: ChewieAM on January 04, 2014, 15:36:23 PM
Hello,

I have the same problem!
I have 3 email addresses in my PayPal account and that was no problem in the past. Customer email addresses in lower or upper case was no problem in the past too.

joomla: 2.5.9
VM: 2.0.26a
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 06, 2014, 09:01:15 AM
Hello
QuoteI have 3 email addresses in my PayPal account and that was no problem in the past. Customer email addresses in lower or upper case was no problem in the past too.
Because we were not checking the email address before. And it must be checked to make sure that the transaction was done on the correct PayPal account.


QuoteI have the same problem!
Did you change the code in the PayPal plugin ?

QuoteI have disabled the brute force stop extension. Can this be the problem?? http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/22982
This security extension does not change the data. You do not need to disable it.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: terjef on January 06, 2014, 20:58:40 PM
OK.

I just know that everything works great when i downgraded to 2.0.24c version.

I havent touched the PayPal Plugin before and i have just 1 mailadress in PayPal (still had the error report). Strange since i cant find the log file eighter.

If you want to take a look, you are welkome to look at my site, just need to take a backup before anything changes. mail me and i will make you an account to my site ;-)

Regards
Terje
Title: Re: Problems with PayPal in Version 2.0.26
Post by: ChewieAM on January 08, 2014, 02:05:25 AM
Quote from: alatak on January 06, 2014, 09:01:15 AM
Hello
QuoteI have 3 email addresses in my PayPal account and that was no problem in the past. Customer email addresses in lower or upper case was no problem in the past too.
Because we were not checking the email address before. And it must be checked to make sure that the transaction was done on the correct PayPal account.

QuoteI have the same problem!
Did you change the code in the PayPal plugin ?

My paypal email address is all lower case in PayPal and VM. Does it makes a difference if I am not using my primary PayPal email address in VM?
I can't influence if my customer types his email incorrect. But I don't think that's the case here. The payment comes into my paypal account.

No changes in PayPal plugin.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 08, 2014, 10:01:55 AM
Hello

QuoteI can't influence if my customer types his email incorrect. But I don't think that's the case here. The payment comes into my paypal account.
the only email which is check is the one that you have in the payment configuration.

QuoteDoes it makes a difference if I am not using my primary PayPal email address in VM?
it should not with the version 2.0.26a
plz go in the order view in the administration, and at the bottom click on the "view transaction log"
check those 2 parameters:
business email and receiver_email
business email should be the primary paypal address, and receiver_email the one you configured in your VirtueMart
Is it correct?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: RobertL on January 08, 2014, 13:20:32 PM
2.0.26a - Same issue here. Payments are received into account, payment confirmation from PayPal is received by the shop, but payment confirmation is not sent by PayPal to the user and PayPal reports IPN error to following URL:
http://www.sitename.com.au/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=

Another thing, when refunding a payment, that notification is received fine by both the shop and by the user.

I have 3 emails on PayPal account, same as last 5 years, regular clients and my own tests all produce this issue, and were not present before VM 2.0.26 (updated last week)

It cannot have anything to do with upper/lower case or with multiple email addresses on PayPal account as it was not an issue before as far as PayPal or users are to blame. It must be something in the plugin itself (and only line found is the one already reported which doesn't match the suggestion). I noticed that code is actually


            if (strcasecmp($paypal_data['receiver_email'],$this->merchant_email)!=0 ) {


strcasecmp is case sensitive string comparison, I have no idea, but if anything, that might be the issue?!? I tried replacing with this but no difference


if ($paypal_data['receiver_email']!=$this->merchant_email )
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 08, 2014, 14:21:48 PM
Hello
Quote2.0.26a - Same issue here. Payments are received into account, payment confirmation from PayPal is received by the shop, but payment confirmation is not sent by PayPal to the user and PayPal reports IPN error to following URL:

please have a look if this is your problem:
http://forum.virtuemart.net/index.php?topic=121339.msg414146#msg414146
Title: Re: Problems with PayPal in Version 2.0.26
Post by: ChewieAM on January 08, 2014, 23:59:13 PM
Quote
plz go in the order view in the administration, and at the bottom click on the "view transaction log"
check those 2 parameters:
business email and receiver_email
business email should be the primary paypal address, and receiver_email the one you configured in your VirtueMart
Is it correct?

I can't find the button "view transaction log" in the order view.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: RobertL on January 09, 2014, 00:42:40 AM
Quote
please have a look if this is your problem:
http://forum.virtuemart.net/index.php?topic=121339.msg414146#msg414146

Hi Alatak,

thanks for the suggestion, but sadly that's not it. The invoices are getting generated and order status from pending to confirmed are working correctly (oddly enough, when refund is done, they're not changed to refunded as configured).
As for Invoicing itself, I use Artio's VM Invoice which worked perfectly fine too until update to VM2.0.26a (from 2.0.20b), it still works, but I can no longer create manual orders, getting Internal Server Error along with 404 which I reported
to Artio (404 could be related to PayPal's issue with IPN url). That's about the only correlation I can think of. No settings have been changed and it all worked before the update. Current incarnation of the site is from July last year and
previous was J1.5/VM1.1.x for about 4 years, same PayPal settings.

Robert

Edit: memory is 128M as it is. I could increase it if needed.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 09, 2014, 10:59:54 AM
Hello

Quote(oddly enough, when refund is done, they're not changed to refunded as configured).
I have fixed this issue.
Please try the version 2.0.26b which is available here
http://dev.virtuemart.net/projects/virtuemart/files
and check if it solves your problem.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jcalvert on January 13, 2014, 07:59:30 AM
I am also having problems w/ PayPal, VM 2.0.26a.

Please see my posting here: http://forum.virtuemart.net/index.php?topic=101478.60

Any help is much appreciated.

thanks,
JC
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 13, 2014, 09:07:19 AM
Hello

http://forum.virtuemart.net/index.php?topic=121079.msg414534#msg414534
Title: Re: Problems with PayPal in Version 2.0.26
Post by: dimi2013 on January 21, 2014, 11:55:01 AM
Quote from: dimi2013 on January 21, 2014, 11:52:39 AM
I can't find the button "view transaction log" in the order view.
That's because it doesn't exist. I don't think it ever existed. Go to root/log/paypal.1.log.php and you'll find those parameters there
Title: Re: Problems with PayPal in Version 2.0.26
Post by: terjef on January 21, 2014, 13:31:43 PM
Hi.

2.0.26d version worked great for me. No problem with PayPal errors.

Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 22, 2014, 09:01:53 AM
Hello
QuoteI can't find the button "view transaction log" in the order view.
This is a new link that I have added in the latest version of Paypal. Go at the bottom of your order, you should see it.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on January 24, 2014, 01:23:13 AM
We removed the secondary emails from paypal, set the main one the same as vm plugin and works perfectly in 2.026D
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 24, 2014, 10:32:21 AM
Hello

QuoteWe removed the secondary emails from paypal, set the main one the same as vm plugin and works perfectly in 2.026D
It should work also with the secondary emails.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on January 24, 2014, 10:35:44 AM
Quote from: alatak on January 24, 2014, 10:32:21 AM
Hello

QuoteWe removed the secondary emails from paypal, set the main one the same as vm plugin and works perfectly in 2.026D
It should work also with the secondary emails.

We didnt try it tbh Valérie but since we dont need them anyway,

Regards
Title: Re: Problems with PayPal in Version 2.0.26
Post by: OnTrackMarketing on January 29, 2014, 19:45:09 PM
I am also getting this error and emails with errors after upgrading to vm 2.026d, furthermore the paypal payment shows pending in orders, however I receive the funds in paypal.

The client has removed the secondary email in paypal so now there is only one primary email.



When I look for the line to replace code as instructed by Alatak:


"Please change in the file plugins/vmpayment/paypal/paypal/helpers/paypal.php
line 667"

Code: [Select]
            if ($paypal_data['receiver_email']!=$this->merchant_email and $paypal_data['business']!=$this->merchant_email) {

with

Quote
            if ($paypal_data['receiver_email']!=$this->merchant_email ) {

the line does not exist in this file.

Any updates?

???
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 30, 2014, 09:58:02 AM
Hello
In 2.0.26d  have changed it to             
if (strcasecmp($paypal_data['receiver_email'],$this->merchant_email)!=0 ) {

because you can send to paypal an email with a mix of lower and uppercase, but Paypal always returns a email in lower case.

Can you turn on the log in the payment configuration, and check the IPN received.
There are 2 parameters   [receiver_email] and [business] . Which one is the email used in your VM paypal configuration?


Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 30, 2014, 14:36:49 PM
I can confirm that in 2.0.26d the issue is still present.

I would like to enquire - is there any ETA on an update to fix this? It's been over a month since it was originally reported. Can't believe that a bug in your primary payment gateway is still unaddressed. It doesn't exude a lot of confidence in your product.

I really can't afford to sit by my computer 24 hours a day changing transaction status's so I'm losing sales because of this new 'feature'. To be quite frank that pisses me off greatly.

Would really like to see this fixed, and quickly

DM
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 30, 2014, 14:40:11 PM
Hello
Please give me this info
QuoteThere are 2 parameters   [receiver_email] and [business] . Which one is the email used in your VM paypal configuration?

and i will give you the fix
Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 30, 2014, 14:48:33 PM
Quote from: alatak on January 30, 2014, 14:40:11 PM
Hello
Please give me this info
QuoteThere are 2 parameters   [receiver_email] and [business] . Which one is the email used in your VM paypal configuration?

and i will give you the fix

It is the business email.

I am grateful for the fix but why have you not released a bugfix release to deal with this?

PS having to type two captcha / checks every time I write a post is simply ridiculous. Again - it does nothing to garner confidence in your brand
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on January 30, 2014, 15:12:46 PM
Quote from: DeeEmm on January 30, 2014, 14:48:33 PM
Quote from: alatak on January 30, 2014, 14:40:11 PM
Hello
Please give me this info
QuoteThere are 2 parameters   [receiver_email] and [business] . Which one is the email used in your VM paypal configuration?

and i will give you the fix

It is the business email.

I am grateful for the fix but why have you not released a bugfix release to deal with this?

PS having to type two captcha / checks every time I write a post is simply ridiculous. Again - it does nothing to garner confidence in your brand

My dog is more polite than you.

If you had a bit of brain which you obviously dont have you would have maintaned the previous version until they solved the issues here, that is what we did, stayed in 2.024C and finally update to 2.026D and 0 issues for now.

brand? lol they are fixing all this stuff for free.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on January 30, 2014, 15:35:22 PM
Quote from: DeeEmm on January 30, 2014, 14:48:33 PM
PS having to type two captcha / checks every time I write a post is simply ridiculous. Again - it does nothing to garner confidence in your brand

I assume that you are searching the forum without being logged in. If you log in first, you won't see the captcha.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 30, 2014, 16:49:34 PM
Hello

QuoteIt is the business email.
thank you for this info.

Replace this line
if (strcasecmp($paypal_data['receiver_email'],$this->merchant_email)!=0 ) {



with

if (strcasecmp($paypal_data['business'],$this->merchant_email)!=0 ) {


I will fix the code in the core, and this issue will be solved in the next release.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 30, 2014, 16:57:46 PM
Thank you Alatak, your help is much appreciated, I can confirm that the fix has worked.

@ jjk,  I am actually logged in but can still see the captcha. Interestingly the captcha also shows the same letters and asks the same question every time I post / navigate to a different page - Perhaps something is not quite right.

@Linda. WOW You could hurt someones feelings trolling like that. Be sure not to injure yourself on the keyboard.  ;)

Linda, I am curious; what does price have to do with quality?

Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 30, 2014, 17:08:03 PM
Hello
Linda only asked you to be more polite. So cool down. No need to be aggressive.
This problems appears because we added an extra check in the IPN.
I only test with the sandbox, and i do not have this "primary email address" problem.
And it is not very well explained in the PayPal documentation.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on January 30, 2014, 17:21:28 PM
Quote from: DeeEmm on January 30, 2014, 16:57:46 PM
@ jjk,  I am actually logged in but can still see the captcha.

I currently have no clue why this happens to you. I never see the captcha when I'm logged in. Maybe there is a security setting in the forum which requires a minimum number of posts before the captcha is removed, but I can't look it up because I don't have access to such settings.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 30, 2014, 17:28:56 PM
Just expressed that I was a bit pissed off, which is neither impolite nor aggressive, nor were my posts of a personal nature.

Lindas post on the other hand was both personal and aggressive...

QuoteMy dog is more polite than you.

If you had a bit of brain which you obviously dont have...

If this is an acceptable way of asking someone to be more polite then I will eat my hat.

I think my response is quite reserved in the circumstances. It is also quite valid, if rhetorical.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 30, 2014, 17:30:09 PM
Quote from: jjk on January 30, 2014, 17:21:28 PM
Quote from: DeeEmm on January 30, 2014, 16:57:46 PM
@ jjk,  I am actually logged in but can still see the captcha.

I currently have no clue why this happens to you. I never see the captcha when I'm logged in. Maybe there is a security setting in the forum which requires a minimum number of posts before the captcha is removed, but I can't look it up because I don't have access to such settings.
Could be possible. Guess I will just have to live with it. Not that I post very often in here.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 30, 2014, 17:36:24 PM
Quote from: alatak on January 06, 2014, 09:01:15 AM
Because we were not checking the email address before. And it must be checked to make sure that the transaction was done on the correct PayPal account.

Sorry alatak, I disagree with this.

VM does not need to verify this information - transaction verification is carried out by PayPal. In truth VM cannot possibly know if it is the correct email for the vendors paypal account, there is no reliable way of testing. This check simply introduces additional unnecessary complexity, the end result of which is invariably an issue like this one.

Something to consider - If the email address is incorrect it will easily be picked up by the vendor when they initially test.

If you are really concerned whether the vendor has typed in the correct email address then simply add a second email field to the form and compare the two entries - much less overheads this way.

My 02c
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 30, 2014, 17:46:35 PM
hello

QuoteSorry alatak, I disagree with this.

VM does not need to verify this information - transaction verification is carried out by PayPal. In truth VM cannot possibly know if it is the correct email for the vendors paypal account, there is no reliable way of testing. This check simply introduces additional unnecessary complexity, the end result of which is invariably an issue like this one.

Something to consider - If the email address is incorrect it will easily be picked up by the vendor when they initially test.
i am not checking that the email address is correct or not.
ofc it is paypal that will check that.
what is done: it only validates the transaction if it is done on the correct paypal account.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: DeeEmm on January 31, 2014, 02:09:31 AM
Quote from: alatak on January 30, 2014, 17:46:35 PM
i am not checking that the email address is correct or not.
ofc it is paypal that will check that.

Exactly

Quote from: alatak on January 30, 2014, 17:46:35 PM
what is done: it only validates the transaction if it is done on the correct paypal account.

If you are sending payments to the wrong merchant email address (paypal account) you should be checking long BEFORE you send the transaction to paypal, not afterwards.



Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on January 31, 2014, 13:38:45 PM
Hello,

VirtueMart 2.0.26d
Joomla 2.5.17
Responsive template
Multilingual site

Once I'm redirected to to PayPal site - once not (in this case after "Please select a pay­ment method - Save" it redirects you to the Shopping Cart page)
I haven't touch/change settings!

This definitely looks like a VM issue - maybe something to do with AJAX?  If it is intermittent then some timing may be affecting it - asynchronous AJAX would be the suspect ...?

I am not familiar with coding, so quick response/help would be highly appreciated!

Thank you!





[attachment cleanup by admin]
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on January 31, 2014, 18:02:22 PM
Hello
You are using the Express checkout from a third party developer. Not the one provided by VirtueMart.
You should ask directly the developer of that plugin.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on February 03, 2014, 09:23:47 AM
Okay, thanks.

I've  just read about "[VM2.0.26 includes Paypal Express Checkout, Paypal Pro and Paypal Pro (Hosted), New features and Fixed Bugs"
http://virtuemart.net/news/latest-news/452-virtuemart-2-0-26-includes-paypal-express-checkout-paypal-pro-and-paypal-pro-hosted (http://virtuemart.net/news/latest-news/452-virtuemart-2-0-26-includes-paypal-express-checkout-paypal-pro-and-paypal-pro-hosted)
I supposed, the problem partially belongs to VM.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on February 03, 2014, 09:34:25 AM
Hello
The screen shot that you provided is not the one from the paypal included in the VM core.
It is of type PayPal express Checkout SSC
The one provided in the core is called "Paypal"
Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on February 03, 2014, 10:25:26 AM
If so, why is Paypal Exp. Ch. mentioned here: http://virtuemart.net/news/latest-news/452-virtuemart-2-0-26-includes-paypal-express-checkout-paypal-pro-and-paypal-pro-hosted (http://virtuemart.net/news/latest-news/452-virtuemart-2-0-26-includes-paypal-express-checkout-paypal-pro-and-paypal-pro-hosted) ? ???
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on February 03, 2014, 10:46:19 AM
Hello

Please create a new payment method, and select PayPal
Save it,
Go in the configuration and select Express Checkout
And in this case, you will be using the one provided by the VM core team.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on February 04, 2014, 16:48:48 PM
Thanks for the instruction.
It seems to be working fine.
But I have 2 problems.
1. on the product page there are shown accepted credit cards, and Paypal. How could I  remove this?
2. in shopping cart "PayPal" appears twice (once as payment method, and once the PP checkout button). In Vm - Config - Config - Checkout I enabled One Page checkout. If I "press" the "Checkout with PayPal" button in shoping cart, the "Check Out Now" button has no role.
Check the attachment, please.
Thank you

[attachment cleanup by admin]
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on February 04, 2014, 19:18:12 PM
Quote from: admiss on February 04, 2014, 16:48:48 PM
Thanks for the instruction.
It seems to be working fine.
But I have 2 problems.
1. on the product page there are shown accepted credit cards, and Paypal. How could I  remove this?
2. in shopping cart "PayPal" appears twice (once as payment method, and once the PP checkout button). In Vm - Config - Config - Checkout I enabled One Page checkout. If I "press" the "Checkout with PayPal" button in shoping cart, the "Check Out Now" button has no role.
Check the attachment, please.
Thank you

That looks like the SJ bakery template from Smartaddons, check with them if there are template issues by using default beez first.

We had some issues with their template on another website.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on February 05, 2014, 10:18:32 AM
Great :x

I don't use beez as default
Sj bakery+Bluestork

Whatever...thank you
Title: Re: Problems with PayPal in Version 2.0.26
Post by: lindapowers on February 05, 2014, 10:35:41 AM
Quote from: admiss on February 05, 2014, 10:18:32 AM
Great :x

I don't use beez as default
Sj bakery+Bluestork

Whatever...thank you

I know you dont use beez as default, im tellling you to test with beez to see if is actually a VM issue or a template issue.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on February 05, 2014, 12:03:59 PM
tried with beez
problem not solved

I have to remark, that if payment method is set to PayPal Express Checkout - SSC, almost everything works fine.
If I use this, redirection to PayPal website once is successful, once not.
It's annoying a bit, that nothing works as it should on MY SITE

[attachment cleanup by admin]
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on February 06, 2014, 08:45:54 AM
Hello
QuotePayPal Express Checkout - SSC,
you are not using the PayPal EC from the core, you should contact the developer directly.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: admiss on February 06, 2014, 09:52:41 AM
Hello Alatak,

I don't want to use PayPal EC.....we have discussed abaout it.
I just wanted to show "lindapowers", that with  PayPal EC the "Product detail" page appears correctly - contrary to the case, when I use Paypal (EC) as payment method (see product page.png)

Otherwise, I've downloaded it from here: http://forum.virtuemart.net/index.php?topic=104184.0 (http://forum.virtuemart.net/index.php?topic=104184.0)
Title: Re: Problems with PayPal in Version 2.0.26
Post by: microtribe on February 09, 2014, 18:28:53 PM
I only have one address entered in Paypal settings. Using 2.0.26a and has worked fine with Paypal. Haven't changed anything. But getting this error on an order in which the customer entered / as their street address. Could that also generate this error?

By the way, I don't have paypal.1.log.php in my root logs file, and I have verified that the logs folder is in the same location set in the admin config. Any other ideas where it could be?

Title: Re: Problems with PayPal in Version 2.0.26
Post by: Jazajay on February 12, 2014, 20:45:54 PM
Virtuemart: 2.0.26d
Joomla: 2.5.18

Hi All
I am experiencing the same problem and can't find any lines of code outlined in this thread to change.

My email is all lowercase - we only have 1 of those in Paypal and it is correct in Virtuemat; but, I have noticed that on this order that the:

ERROR IPN notification with invalid amount or currency or email: Array

[payment_order_total] => 37.70000
[currency_code_3] => GBP

and the:

[mc_gross] => 37.72

It is also out for another one - that had the same issue - by 2p.

ERROR IPN notification with invalid amount or currency or email: Array

[mc_gross] => 219.68

[payment_order_total] => 219.66000
    [currency_code_3] => GBP


I am assuming that that is potentially causing the issue?

What setting could cause the 2 to be out by mere pence?

Tax calculation as we do add tax to our shipping???

Any help would be seriously appreciated.

Jaz
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on February 12, 2014, 22:55:12 PM
Quote from: microtribe on February 09, 2014, 18:28:53 PM
By the way, I don't have paypal.1.log.php in my root logs file, and I have verified that the logs folder is in the same location set in the admin config. Any other ideas where it could be?

The file is generated only if you enabled 'Debug' and 'Log debug in file' in the VM-PayPal configuration and somebody uses or tries to use PayPal for payment in your shop.
It probably also works when using the PayPal sandbox for testing.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: consolecustoms on February 13, 2014, 22:08:28 PM
I have the same problem as Jazajay when the order contains Tax, the information is not being sent to paypal properly. I will be looking to see if I can find out where but if alatak can chime in I am sure it will be found faster.

No only are the amounts wrong the buyer gets charged tax twice!! this is very bad.

Example order log, some information removed. I made this order myself since my own address would create a Tax situation.

Real order total is $2.90 but In paypal was charged $2.93 Tax was $0.03 as you can see so paypal took order total from virtuemart and added tax on top of it but the order total already included the tax. So when paypal passed back the total of $2.93 it failed and created the error message because totals do not match.

Please help to fix asap.



2014-02-13 20:46:50 ERROR IPN notification with invalid amount or currency or email: Array
(
    [paypal_data] => Array
        (
            [mc_gross_1] => 0.55
            [mc_handling1] => 0.00
            [num_cart_items] => 1
            [payer_id] => 44UXMPXPS2MUW
            [address_country_code] => US
            [ipn_track_id] => 762176ba62ba
            [address_zip] => 29369
            [invoice] => 20119
            [charset] => windows-1252
            [payment_gross] => 2.93
            [address_status] => confirmed
            [address_street] =>
            [receipt_id] =>
            [verify_sign] =>
            [tax1] => 0.00
            [mc_shipping] => 0.00
            [txn_type] => cart
            [receiver_id] =>
            [payment_fee] => 0.36
            [item_number1] => 0805-Y
            [mc_currency] => USD
            [transaction_subject] =>
            [custom] =>
            [protection_eligibility] => Eligible
            [quantity1] => 1
            [address_country] => United States
            [payer_status] => unverified
            [first_name] => Christopher
            [item_name1] => 0805 Surface Mount LED Yellow
            [address_name] => Christopher Schultz
            [mc_gross] => 2.93
            [mc_shipping1] => 0.00
            [payment_date] => 12:25:35 Feb 13, 2014 PST
            [payment_status] => Completed
            [business] => consolecustoms@yahoo.com
            [mc_handling] => 2.35
            [last_name] => Schultz
            [address_state] => SC
            [txn_id] =>
            [mc_fee] => 0.36
            [resend] => true
            [payment_type] => instant
            [notify_version] => 3.7
            [payer_email] => chris@consolecustoms.com
            [receiver_email] => consolecustoms@yahoo.com
            [address_city] => Moore
            [tax] => 0.03
            [residence_country] => US
        )

    [payment_order_total] => 2.90000
    [currency_code_3] => USD
)
Title: Re: Problems with PayPal in Version 2.0.26
Post by: consolecustoms on February 13, 2014, 22:34:24 PM
Additional information, the tax looks to be getting added to the shipping amount. See attached pictures of order from virtuemart backend shipping is $2.32 (this is the correct amount), second picture of paypal transaction shipping is $2.35.  Actually this shows up as "handling" this is probably minor but would be nice if correct field was used when passing info to paypal.

[attachment cleanup by admin]
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jus2sho on February 15, 2014, 21:39:04 PM
I'm currently testing my checkout system with the Paypal sandbox.  I'm having an issue with the customer's selected state and Paypal recognizing the actual state.  For instance, the customer enters their address and selects "OHIO" from the VM dropdown list.  When they confirm their order on my site and they're forwarded to Paypal to complete their payment, Paypal suggest that the customer's address be changed to "OH" instead of "OHIO".  I'm sure I'm not the only one to have this issue.  I've tried doing a quick search, but maybe I'm not searching with the correct keywords.  Thanks in advance for any advice.

Edit: Finally found the solution.

http://forum.virtuemart.net/index.php?topic=115604.0
Title: Re: Problems with PayPal in Version 2.0.26
Post by: consolecustoms on February 18, 2014, 21:16:00 PM
Quote from: consolecustoms on February 13, 2014, 22:08:28 PM
I have the same problem as Jazajay when the order contains Tax, the information is not being sent to paypal properly. I will be looking to see if I can find out where but if alatak can chime in I am sure it will be found faster.

No only are the amounts wrong the buyer gets charged tax twice!! this is very bad.

Example order log, some information removed. I made this order myself since my own address would create a Tax situation.

Real order total is $2.90 but In paypal was charged $2.93 Tax was $0.03 as you can see so paypal took order total from virtuemart and added tax on top of it but the order total already included the tax. So when paypal passed back the total of $2.93 it failed and created the error message because totals do not match.

Please help to fix asap.



2014-02-13 20:46:50 ERROR IPN notification with invalid amount or currency or email: Array
(
    [paypal_data] => Array
        (
            [mc_gross_1] => 0.55
            [mc_handling1] => 0.00
            [num_cart_items] => 1
            [payer_id] => 44UXMPXPS2MUW
            [address_country_code] => US
            [ipn_track_id] => 762176ba62ba
            [address_zip] => 29369
            [invoice] => 20119
            [charset] => windows-1252
            [payment_gross] => 2.93
            [address_status] => confirmed
            [address_street] =>
            [receipt_id] =>
            [verify_sign] =>
            [tax1] => 0.00
            [mc_shipping] => 0.00
            [txn_type] => cart
            [receiver_id] =>
            [payment_fee] => 0.36
            [item_number1] => 0805-Y
            [mc_currency] => USD
            [transaction_subject] =>
            [custom] =>
            [protection_eligibility] => Eligible
            [quantity1] => 1
            [address_country] => United States
            [payer_status] => unverified
            [first_name] => Christopher
            [item_name1] => 0805 Surface Mount LED Yellow
            [address_name] => Christopher Schultz
            [mc_gross] => 2.93
            [mc_shipping1] => 0.00
            [payment_date] => 12:25:35 Feb 13, 2014 PST
            [payment_status] => Completed
            [business] => consolecustoms@yahoo.com
            [mc_handling] => 2.35
            [last_name] => Schultz
            [address_state] => SC
            [txn_id] =>
            [mc_fee] => 0.36
            [resend] => true
            [payment_type] => instant
            [notify_version] => 3.7
            [payer_email] => chris@consolecustoms.com
            [receiver_email] => consolecustoms@yahoo.com
            [address_city] => Moore
            [tax] => 0.03
            [residence_country] => US
        )

    [payment_order_total] => 2.90000
    [currency_code_3] => USD
)



figured this out on my own and hopefull will solve others problems as well.

In /plugins/vmpayment/paypal/paypal/helpers/paypalstd.php - Tax not being sent correctly to Paypal it is being added to Handling and also being sent seperately as per item tax. Changed lines below. the function getHandlingAmount() is actually getting the tax amount not handling and then being added to the shipping/handling. I Changed this so it is sending the tax as the tax total to paypal and not adding it the handling.
Also changed the varialbe being sent for shipping, it was sending it as handling "handling_cart" changed this to "shipping_1" so it shows as shipping in paypal. This does not have to be changed but this way it shows the shipping as "shipping fees" in paypal transaction details instead of "handling fees"

$post_variables["handling_cart"] = $this->getHandlingAmount();
$post_variables["handling_cart"] += vmPSPlugin::getAmountValueInCurrency($this->cart->pricesUnformatted['salesPriceShipment'], $this->_method->payment_currency);


to

// Function get handlingamount actually gets tax amount
$post_variables["tax_cart"] = $this->getHandlingAmount();
// changed from "handing_cart" to "shipping_1" so shipping shows up as shipping in paypal instead of handling.
$post_variables["shipping_1"] = vmPSPlugin::getAmountValueInCurrency($this->cart->pricesUnformatted['salesPriceShipment'], $this->_method->payment_currency);
Title: Re: Problems with PayPal in Version 2.0.26
Post by: Jazajay on February 18, 2014, 21:46:54 PM
Hi consolecustoms
Aww brilliant. Have you tested this?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: consolecustoms on February 18, 2014, 21:58:59 PM
Quote from: Jazajay on February 18, 2014, 21:46:54 PM
Hi consolecustoms
Aww brilliant. Have you tested this?

Yes, I have tested and this worked for me. For you it may be different if you actually charge tax on shipping but I think it should still work for you.
You will already see a difference just by starting a paypal checkout (you do not need to complete it). Checkout from your site with paypal and when transferred to paypal you will see before the changes there is not a separate tax line and the shipping and tax are combined into the "shipping/handling" line.
After this change when you get to this point in the checkout there will be a separate "tax" line and the "shipping/handling" line will display only the shipping cost.

I did complete a full paypal checkout with a real account as well just to be sure everything was OK and everything was correct in all locations and I did not receive the Error message as in the past.

I hope it works for you too.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: rfperez on March 08, 2014, 17:56:06 PM
I recently upgraded to 2.0.26d and started getting the "ERROR IPN notification: wrong merchant_email" errors. I removed the secondary email address from the PayPal account  and the "ERROR IPN notification: wrong merchant_email" problem is still present.
As I understand it the error is generated from the following code contained in the plugin at /plugins/vmpayment/paypal/paypal/helpers/paypal.php :
if (strcasecmp($paypal_data['receiver_email'],$this->merchant_email)!=0 ) {

The values of the [receiver_email] and the [merchant_email] from the log file are as follows:
    [receiver_email] => storeadmin@MYDOMAIN.com
    [merchant_email] =>  storeadmin@MYDOMAIN.com

The actual domain name were replaced by MYDOMAIN for privacy but otherwise characters are exactly as contained in the Log file.

The two values look identical, could it be possible that there is a hidden or blank character at the beginning of the merchant_email?
Did I miss a solution to this issue in the forum?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: Jazajay on March 08, 2014, 18:23:18 PM
Hi rfperez
Do you add tax to your shipping?
If so I believe that is causing my issue - which give me the same problem. No fix for this yet - you have to manually confirm all affected orders otherwise the user wont get any notification.

Waiting on the next system fix - to hopefully resolve this.

Jaz
Title: Re: Problems with PayPal in Version 2.0.26
Post by: rfperez on March 08, 2014, 21:14:56 PM
We are a non-profit organization and do not charge tax, or charge shipping either.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: ozzz on September 12, 2014, 04:33:28 AM
Hi there,

I have the same issue, order status stays pending even when a payment is succesful. This error is also in 2.6.8, perhaps because my website's email is not added in my PayPal account? I prefer not to; is this possible? Or is it required to have the website email in my paypal account?

Hope someone can help me.. Thanks!
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 14, 2014, 17:57:41 PM
problem is still in VirtueMart 2.6.10
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on October 14, 2014, 20:25:18 PM
Quote from: carsten888 on October 14, 2014, 17:57:41 PM
problem is still in VirtueMart 2.6.10
Which one of the (different) problems described above?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 15, 2014, 09:20:55 AM
Quote from: jjk on October 14, 2014, 20:25:18 PM
Quote from: carsten888 on October 14, 2014, 17:57:41 PM
problem is still in VirtueMart 2.6.10
Which one of the (different) problems described above?
ERROR IPN notification with invalid amount or currency or email
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on October 16, 2014, 08:42:42 AM
Quote from: carsten888 on October 15, 2014, 09:20:55 AM
ERROR IPN notification with invalid amount or currency or email

Assuming that your are using 'Paypal Standard' and/or 'PayPal Express checkout', I would suggest to log into your PayPal account and disable the IPN, because the VM PayPal plugin uses the PayPal API to handle that for you. I've been using PayPal Standard with IPN not activated for several years and despite that I receive an email from PayPal for every sucessful payment.

PayPal's IPN is not a real time service, so I wouldn't be surprised if the IPN's occationally conflict with the already sent API data exchange.

However, I'm not shure what the reason for your problem is, so other things which might be worth checking are:
Check if your vendor email and the email set in your PayPal account are identical.
PayPal doesn't send confirmations when the status is "Pending", so you might remove that from your status email settings in VM. (If you do that, check if the order emails still work - I currently have and issue with that in the latest VM version)

Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 16, 2014, 09:11:40 AM
QuoteCheck if your vendor email and the email set in your PayPal account are identical.
VM > shop > shop > tab shopper information has an adress field under 'bill to information', but I assume that is something different. And its got another emailadress then my dedicated paypal email. The paypal plugin does not have an email field. Where do I find the vendor adress?

QuotePayPal doesn't send confirmations when the status is "Pending", so you might remove that from your status email settings in VM.
I think I got that. Is that config > tab checkout at 'Default Order Status to send email to vendor'? No pending there.

I disabled IPN. Just waiting for a sale now...
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on October 16, 2014, 14:01:47 PM
Hello
QuoteERROR IPN notification with invalid amount or currency or email

There was a problem in paypal between primary Paypal email, and Paypal businees email in the IPN validation
I though i  had solve it
Could this be the reason : ie:
that you have 2 Paypal emails, and which  one are you using in the VM Paypal configuration ?

Quote from: jjk on October 16, 2014, 08:42:42 AM
PayPal's IPN is not a real time service, so I wouldn't be surprised if the IPN's occationally conflict with the already sent API data exchange.
sorry, but i do not agree with you JJK
There are no conflict. The IPN is used to update the order in the VM backend.
And VM checks  some values :
- amount returned by Paypal is the same as the one sent to Paypal: this is to check that the shopper has not modified the amount just before the transaction was sent to paypal
- the merchant email returned by Paypal is the same as the one in the VM config: this is to check that it is the transaction was done on the correct paypal account
before changing the order status.
Those are security checks absolutly necessary to do before validating the IPN.
If you receive an email  with "ERROR IPN notification with invalid amount or currency or email"
then you must check your paypal account before sending the goods.

If you turn on the log option in you VM paypal configuration,a and send me the log file, then i can understand what is the problem and fix it.
Thank you
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jjk on October 16, 2014, 14:35:49 PM
@carsten888
In order to locate the real issue, you should follow alatak's advice instead of mine.  :)
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 17, 2014, 09:48:19 AM
Quote from: jjk on October 16, 2014, 14:35:49 PM
@carsten888
In order to locate the real issue, you should follow alatak's advice instead of mine.  :)
I enabled IPN again :)
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 17, 2014, 09:51:37 AM
QuoteIf you turn on the log option in you VM paypal configuration,a and send me the log file, then i can understand what is the problem and fix it.
2014-09-29 11:21:26 ERROR IPN notification: wrong merchant_email: Array
(
    [paypal_data] => Array
        (
            [txn_type] => adjustment
            [payment_date] => 04:21:23 Sep 29, 2014 PDT
            [payment_gross] =>
            [mc_currency] => EUR
            [verify_sign] => xxxxxx
            [payer_status] => verified
            [payer_email] => paypal@xxxxx
            [txn_id] => 0CT237544T179581D
            [parent_txn_id] => 6P5526711J719923U
            [payer_id] => ZL2TU9JHPMZRE
            [invoice] => 6b3405005
            [reason_code] => chargeback_settlement
            [payment_status] => Completed
            [payment_fee] => -16.00
            [mc_gross] => -30.00
            [charset] => windows-1252
            [notify_version] => 3.8
            [ipn_track_id] => 2e7f504d651a0
        )
    [merchant_email] => paypal@xxxxx
)
2014-10-14 13:06:09 ERROR validateIpnContent: VMPAYMENT_PAYPAL_ERROR_POSTING_IPN
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on October 17, 2014, 18:01:17 PM
Hello
I need also the IPN returned by paypal. Can you send it to me by PM.
Txs
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 18, 2014, 08:01:14 AM
Quote from: alatak on October 17, 2014, 18:01:17 PM
Hello
I need also the IPN returned by paypal. Can you send it to me by PM.
Txs
where can i find that?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 23, 2014, 08:37:39 AM
and another one

2014-09-29 11:21:26 ERROR IPN notification: wrong merchant_email: Array
(
    [paypal_data] => Array
        (
            [txn_type] => adjustment
            [payment_date] => 04:21:23 Sep 29, 2014 PDT
            [payment_gross] =>
            [mc_currency] => EUR
            [verify_sign] => AGMjKn2OoZ1404WrUxptox69phwHAly1Y-RRo8alnxIdeqR3vR.I5wfe
            [payer_status] => verified
            [payer_email] => paypal@xxxxxxxxxxxxxxx
            [txn_id] => 0CT237544T179581D
            [parent_txn_id] => 6P5526711J719923U
            [payer_id] => ZL2TU9JHPMZRE
            [invoice] => 6b3405005
            [reason_code] => chargeback_settlement
            [payment_status] => Completed
            [payment_fee] => -16.00
            [mc_gross] => -30.00
            [charset] => windows-1252
            [notify_version] => 3.8
            [ipn_track_id] => 2e7f504d651a0
        )
    [merchant_email] => paypal@xxxxxxxxx
)
2014-10-14 13:06:09 ERROR validateIpnContent: VMPAYMENT_PAYPAL_ERROR_POSTING_IPN
2014-10-22 21:01:46 ERROR validateIpnContent: VMPAYMENT_PAYPAL_ERROR_POSTING_IPN

what does this mean? Do I have to do something?
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on October 23, 2014, 10:35:15 AM
Hello
please send me by PM your complete log file. Thank you.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: carsten888 on October 23, 2014, 11:46:14 AM
Quote from: alatak on October 23, 2014, 10:35:15 AM
Hello
please send me by PM your complete log file. Thank you.
I mailed you. Thank you for helping.
Title: Re: Problems with PayPal in Version 2.0.26
Post by: alatak on October 23, 2014, 13:55:20 PM
Hello

Thank you.
try to replace file plugins/vmpayment/paypal/paypal/helpers/paypal.php
line 771
with
if (strcasecmp($paypal_data['business'], trim($this->merchant_email)) != 0) {
Title: Re: Problems with PayPal in Version 2.0.26
Post by: iSwat on December 19, 2015, 04:57:38 AM
i have a questions i have smf 2.0.11 on my forum and i tried to setup paypal and got it to work but the problem onces it leaves my site and go to paypal i get The link you have used to enter the PayPal system is invalid. Please review the link and try again. thats what i get i even called paypal and they said it wasn't their problem it was smf so i been searching for a answer and i came across this site so i thought i would ask here sorry if i posted this in the wrong place
Title: Re: Problems with PayPal in Version 2.0.26
Post by: jenkinhill on December 19, 2015, 11:18:31 AM
This forum is only for VirtueMart users.  SMF support is on http://support.simplemachines.org/