News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problems with PayPal in Version 2.0.26

Started by ZaubernLernen, December 16, 2013, 14:07:36 PM

Previous topic - Next topic

carsten888

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

jjk

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)

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

carsten888

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...

alatak

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

jjk

@carsten888
In order to locate the real issue, you should follow alatak's advice instead of mine.  :)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

carsten888

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 :)

carsten888

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

alatak

Hello
I need also the IPN returned by paypal. Can you send it to me by PM.
Txs

carsten888

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?

carsten888

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?

alatak

Hello
please send me by PM your complete log file. Thank you.

carsten888

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.

alatak

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) {

iSwat

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

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