Author Topic: Problems with PayPal in Version 2.0.26  (Read 54234 times)

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #75 on: October 15, 2014, 09:20:55 AM »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3764
  • using Matomo instead of Google Analytics
Re: Problems with PayPal in Version 2.0.26
« Reply #76 on: October 16, 2014, 08:42:42 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

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #77 on: October 16, 2014, 09:11:40 AM »
Quote
Check 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?

Quote
PayPal 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

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: Problems with PayPal in Version 2.0.26
« Reply #78 on: October 16, 2014, 14:01:47 PM »
Hello
Quote
ERROR 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 ?

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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3764
  • using Matomo instead of Google Analytics
Re: Problems with PayPal in Version 2.0.26
« Reply #79 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.  :)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #80 on: October 17, 2014, 09:48:19 AM »
@carsten888
In order to locate the real issue, you should follow alatak's advice instead of mine.  :)
I enabled IPN again :)

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #81 on: October 17, 2014, 09:51:37 AM »
Quote
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.
Code: [Select]
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

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: Problems with PayPal in Version 2.0.26
« Reply #82 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

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #83 on: October 18, 2014, 08:01:14 AM »
Hello
I need also the IPN returned by paypal. Can you send it to me by PM.
Txs
where can i find that?

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #84 on: October 23, 2014, 08:37:39 AM »
and another one

Code: [Select]
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

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: Problems with PayPal in Version 2.0.26
« Reply #85 on: October 23, 2014, 10:35:15 AM »
Hello
please send me by PM your complete log file. Thank you.

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Problems with PayPal in Version 2.0.26
« Reply #86 on: October 23, 2014, 11:46:14 AM »
Hello
please send me by PM your complete log file. Thank you.
I mailed you. Thank you for helping.

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: Problems with PayPal in Version 2.0.26
« Reply #87 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
Code: [Select]
if (strcasecmp($paypal_data['business'], trim($this->merchant_email)) != 0) {

iSwat

  • Beginner
  • *
  • Posts: 1
  • A beginner
Re: Problems with PayPal in Version 2.0.26
« Reply #88 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28691
  • Always on vacation
    • Jenkin Hill Internet
Re: Problems with PayPal in Version 2.0.26
« Reply #89 on: December 19, 2015, 11:18:31 AM »
This forum is only for VirtueMart users.  SMF support is on http://support.simplemachines.org/
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.22 10858  J 3.10.11 PHP 8.0.27