News:

Looking for documentation? Take a look on our wiki

Main Menu

Strange PayPal IPN issue - no IPN URL in Paypal Account

Started by iamalive, April 18, 2016, 15:31:12 PM

Previous topic - Next topic

iamalive

Hi

I have a client who is using Virtuemart 3.0.16 with Joomla 3.5.1
He is getting a lot of Paypal error messages and nasty letters from Paypal :
Quote
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

http://clientdomain.ch/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=de-DE
https://clientdomain.ch/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=de-DE

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

I have asked him to check his paypal account and look at the listed IPN URL there : all that he has is the main domain address, i.e. https//clientdomain.ch - nothing after that.

I suspect that this is the root cause of his problems. Can you tell me what the URL in the account should be?

Thanks for any help.
Regards
David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

GJC Web Design

no urlds need to be on his Paypal admin
the IPN urls are sent by VM to Paypal and the 2 listed are correct

the problem will be when that url is called.. try them.. it will be a blank page but check Firebug etc for any server errors

they should return a 200 OK .. not 500 error etc

if they do return an error u need to find and fix.. often to do with pdf invoice creation etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

iamalive

Hi
Thanks for your reply.

I'm really stuck. When I check in Firebug, it shows nothing at all. In Chrome it shows me a 500 Error.
I suspect you are right that it has to do with PDF creation, but I have no idea what else to look at.
I read somewhere that the image can cause problems, so I changed that.
I reinstalled the virtuemart PDF component.

And still it doesn't work. I've also checked and can't find anywhere where the URL might be http:// instead of https://

I would be realy grateful if you could help. I'd be happy to provide access.

Regards
David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

GJC Web Design

what happens when you make a test order and then manually confirm it in the admin?

Does it all work OK?  Invoice created (if set) etc?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Ghost

If you have access to access logs, check which exact URL Paypal calls. Should have a response/order details included.

iamalive

Hi
Sorry was out all day.
@GJC Web Design
One payment option is offline payment for defined users.
I just made a purchase using that payment method and received a confirmation correctly.

using paypal - and confirming it in the backend, everything works correctly, in that I also received a confirmation.

@Ghost

here is a typical log entry. I don't see any URL (I've changed names to protect the innocent  ;) ):

Quote

2016-04-05 19:20:43 ERROR IPN notification with invalid amount or currency or email: Array
(
    [paypal_data] => Array
        (
            [mc_gross] => 47.70
            [invoice] => XIIE049
            [protection_eligibility] => Eligible
            [address_status] => unconfirmed
            [item_number1] => IS00009
            [payer_id] => K4MGEAFEZBVVE4
            [tax] => 0.00
            [address_street] => Via Bruno 12
            [payment_date] => 12:20:24 Apr 05, 2016 PDT
            [payment_status] => Completed
            [charset] => windows-1252
            [address_zip] => 7186
            [mc_shipping] => 0.00
            [mc_handling] => 12.20
            [first_name] => John
            [mc_fee] => 2.17
            [address_country_code] => CH
            [address_name] => John Bloggs
            [notify_version] => 3.8
            [custom] => a51h8ggrhhm3fcjaep8pg19m60
            [payer_status] => unverified
            [business] => info@clientdomain.ch
            [address_country] => Switzerland
            [num_cart_items] => 1
            [mc_handling1] => 0.00
            [address_city] => Zurich
            [verify_sign] => AmONOUDh0axUXIZQNt9kikLBl3TPAo3S1Gm0VZsQeqEd2NWaDYzjpXkY
            [payer_email] => Joebloggs777@hotmail.com
            [mc_shipping1] => 0.00
            [tax1] => 0.00
            [txn_id] => 3B526734WY556763A
            [payment_type] => instant
            [last_name] => Bloggs
            [address_state] =>
            [item_name1] => Popcorntten 32 oz 25 Stk
            [receiver_email] => info@clientdomain.ch
            [payment_fee] =>
            [quantity1] => 10
            [receiver_id] => B6HVA88KEH78S4
            [txn_type] => cart
            [mc_gross_1] => 35.50
            [mc_currency] => CHF
            [residence_country] => CH
            [transaction_subject] =>
            [payment_gross] =>
            [ipn_track_id] => a340e93a337d6
        )
    [payment_order_total] => 47.80000
    [currency_code_3] => CHF
    [testing Total-mc-gross] => 0.0999999999999943
    [testing Compare] => 0.0477
    [testing Result] => 0
)


In case it helps, I've added a screenshot of the settings.
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

GJC Web Design

but if, from the frontend this url  -> https://clientdomain.ch/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=de-DE  gives a 500 error then it just won't work

Paypal is waiting on a 200 response.. if it doesn't get it it will continue to send and will complain

you need to find/fix the error

but your logging is also showing an error

ERROR IPN notification with invalid amount or currency or email

the amounts don't add up at all

and the logging would continue much longer with a successful transaction
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

iamalive

Thanks for the feedback.

I agree with everything you say, but I don't know how to find the error. I've exhausted my knowledge.
If it's something you could fix within a short period of time, I'd be happy to reimburse you for your help.

Regards
David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


sohopros

Hi,

I am also getting following e-mail :
"Hello,
An error with your payment method paypal on your store Folch. The details are logged in the file paypal.1.log.php
. The VirtueMart Team
"
And when I check file paypal.1.log.php I see same error:
ERROR IPN notification with invalid amount or currency or email: Array

Quote from: GJC Web Design on April 19, 2016, 23:38:20 PM
You can PM me
Can you tell how did you fix this error?

Website: www.folch.com
Joomla 3.6.2.
Virtuemart 3.0.18


Please advise,
Sandra

GJC Web Design

on every purchase or just this once?

set the paypal in VM the Payment type to Normal
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sohopros

Quote from: GJC Web Design on September 26, 2016, 18:45:24 PM
on every purchase or just this once?

set the paypal in VM the Payment type to Normal
1. It started when we migrate from Jooma 2.5 & Virtuemart 2.x to  joomla 3.6. & Virtuemart 3.x
2. I already set the Payment type to Normal

Please advise,
Sandra

GJC Web Design

then u need to start logging your paypal and try and see where the mismatch in values is occuring

search on here about price rounding (think its round display only)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation