Author Topic: ERROR validateIpnContent: Error while posting IPN: , 0  (Read 3523 times)

rongame

  • Beginner
  • *
  • Posts: 4
ERROR validateIpnContent: Error while posting IPN: , 0
« on: June 03, 2015, 09:50:02 am »
hi i hope someone can help me. im having the error above during standard paypal payment plugin. Im using a sandbox. im getting 2 sets of email  notification one is a pending order and the other is

An error with your payment paypal on your store. The details are logged in the file. Details are below.

2015-06-03 07:38:07 MESSAGE plgVmConfirmedOrder: order number: 50d50122
2015-06-03 07:39:21 DEBUG PaymentNotification, paypal_data:: Array
(
    [mc_gross] => 1895.00
    [invoice] => 50d50122
    [protection_eligibility] => Eligible
    [address_status] => unconfirmed
    [item_number1] => BOU-FP-B265-11-7-14
    [payer_id] => 23PWP76S6B3V2
    [tax] => 0.00
    [address_street] => singapore
    [payment_date] => 00:39:18 Jun 03, 2015 PDT
    [payment_status] => Completed
    [charset] => gb2312
    [address_zip] => 10001
    [mc_shipping] => 0.00
    [mc_handling] => 0.00
    [first_name] => sing
    [mc_fee] => 79.43
    [address_country_code] => SG
    [address_name] => singapore singapore
    [notify_version] => 3.8
    [custom] => 01f6268b58a445ff10323ae3d2d81f1c
    [payer_status] => verified
    [business] => storesg@xxxxx.com
    [address_country] => Singapore
    [num_cart_items] => 1
    [mc_handling1] => 0.00
    [address_city] => singapore
    [verify_sign] => AYh-XTRUJrmmCvvrw0pwKeXAiMWPAruLUYnu-w0pf50cA88rvEd4okV3
    [payer_email] => buyer@xxxxx.com
    [mc_shipping1] => 0.00
    [tax1] => 0.00
    [txn_id] => 1JD67293DB714584B
    [payment_type] => instant
    [last_name] => gapore
    [address_state] =>
    [item_name1] => FPB265
    [receiver_email] => storesg@xxxxx.com
    [payment_fee] =>
    [quantity1] => 1
    [receiver_id] => PD5B7JXFKJ2SW
    [txn_type] => cart
    [mc_gross_1] => 1895.00
    [mc_currency] => PHP
    [residence_country] => SG
    [test_ipn] => 1
    [transaction_subject] => 01f6268b58a445ff10323ae3d2d81f1c
    [payment_gross] =>
    [ipn_track_id] => d150d163fb97
)
2015-06-03 07:39:21 DEBUG PaymentNotification, order_number:: 50d50122
2015-06-03 07:39:21 DEBUG PaymentNotification, virtuemart_paymentmethod_id:: 9
2015-06-03 07:39:21 DEBUG checkPaypalIps SANDBOX: Array
(
   
  • => 173.0.82.126

)
2015-06-03 07:39:21 DEBUG checkPaypalIps REMOTE ADDRESS: 173.0.82.126
2015-06-03 07:39:21 ERROR validateIpnContent: Error while posting IPN:  ,  0
2015-06-03 07:39:21 DEBUG validateIpnContent: valid_ipn:



vm 2.6.18
PHP Built On   Linux lax05.web.com.ph 2.6.32-531.17.1.lve1.2.57.el6.x86_64 #1 SMP Sat Jun 7 08:40:25 EDT 2014 x86_64
Database Version   5.5.42-cll
Database Collation   utf8_general_ci
PHP Version   5.3.29
Web Server   Apache
WebServer to PHP Interface   cgi-fcgi
Joomla! Version   Joomla! 2.5.28 Stable [ Ember ] 10-December-2014 15:00 GMT
Joomla! Platform Version   Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent   Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Tonimito

  • Beginner
  • *
  • Posts: 17
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #2 on: February 19, 2016, 18:51:28 pm »
Hello,

I have the same problem as rongame, everything works perfectly except the Paypal IPN notification (work in Sandbox Mode).

Until last October 2015 I worked, we just updated versions of Joomla related (Joomla 3.4.8 and VM 3.0.12).

PayPal tells me HTTP 200 (As is correct) on a IPN Notification.

However, in the log paypal now:

Code: [Select]
2016-02-19 15:13:48 DEBUG PaymentNotification, order_number:: P2016021916
2016-02-19 15:13:48 DEBUG PaymentNotification, virtuemart_paymentmethod_id:: 2
2016-02-19 15:13:48 DEBUG checkPaypalIps SANDBOX: Array
(
    [0] => 173.0.82.126
)

2016-02-19 15:13:48 DEBUG checkPaypalIps REMOTE ADDRESS: 173.0.82.126
2016-02-19 15:13:48 ERROR validateIpnContent: Error while posting IPN:  ,  0
2016-02-19 15:13:48 DEBUG validateIpnContent: valid_ipn:
2016-02-19 15:30:26 DEBUG PaymentNotification, paypal_data:: Array
(
    [mc_gross] => 1.00
    [invoice] => P2016021911
    [auth_exp] => 07:10:28 Mar 20, 2016 PDT
    [protection_eligibility] => Eligible
    [address_status] => unconfirmed
    [payer_id] => SQD8KN7JTK4SQ
    [tax] => 0.00
    [address_street] => XXX
    [payment_date] => 07:30:19 Feb 19, 2016 PST
    [payment_status] => Completed
    [charset] => windows-1252
    [address_zip] => 08320
    [first_name] => test
    [transaction_entity] => payment
    [mc_fee] => 0.38
    [address_country_code] => ES
    [address_name] => name name
    [notify_version] => 3.8
    [custom] => iemmmvrfcik3mjud0nij49soo7
    [payer_status] => verified
    [business] => info-facilitator@sandbox.net
    [address_country] => Spain
    [address_city] => Barcelona
    [quantity] => 1
    [verify_sign] => AUifZwERiLeqHiGOvp8-DyOIYSJVAd801SiPX9p75xXdpeTBJG4wFWzK
    [payer_email] => info-buyer@sandbox.net
    [parent_txn_id] => 65B90485VF274201D
    [txn_id] => 3UX22966HT0182410
    [payment_type] => instant
    [remaining_settle] => 0
    [auth_id] => 65B90485VF274201D
    [last_name] => buyer
    [address_state] => 08
    [receiver_email] => info-facilitator@sandbox.net
    [auth_amount] => 29.07
    [payment_fee] =>
    [receiver_id] => TPCP44P35CQVG
    [txn_type] => web_accept
    [item_name] => P2016021911
    [mc_currency] => EUR
    [item_number] =>
    [residence_country] => ES
    [test_ipn] => 1
    [handling_amount] => 0.00
    [transaction_subject] =>
    [payment_gross] =>
    [auth_status] => Completed
    [shipping] => 0.00
    [ipn_track_id] => 18563d9beec80
)

2016-02-19 15:30:26 DEBUG PaymentNotification, order_number:: P2016021911
2016-02-19 15:30:26 DEBUG PaymentNotification, virtuemart_paymentmethod_id:: 2
2016-02-19 15:30:26 DEBUG checkPaypalIps SANDBOX: Array
(
    [0] => 173.0.82.126
)

2016-02-19 15:30:26 DEBUG checkPaypalIps REMOTE ADDRESS: 173.0.82.126
2016-02-19 15:30:26 ERROR validateIpnContent: Error while posting IPN:  ,  0
2016-02-19 15:30:26 DEBUG validateIpnContent: valid_ipn:

The hosting no used reversed Proxy (as indicated in: http://forum.virtuemart.net/index.php?topic=128518.msg442586#msg442586).

What can happen?
Thank you.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3648
  • using Matomo instead of Google Analytics
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #3 on: February 23, 2016, 14:01:43 pm »
If you want to test ipn with the PayPal sandbox, you need to be logged into your sandbox account. See here:
https://developer.paypal.com/docs/classic/lifecycle/sb_ipn/
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Tonimito

  • Beginner
  • *
  • Posts: 17
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #4 on: February 24, 2016, 10:25:29 am »
Thanks for your reply,

If, as we have done, all right on an IPN test on paypal Sandbox. However if we do a sale at VM it gives the error that we comment: ERROR validateIpnContent: Error while posting IPN:  ,  0

Some help?

Tonimito

  • Beginner
  • *
  • Posts: 17
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #5 on: March 15, 2016, 13:04:44 pm »
Hello,

We upgraded to version 5.6 PHP we have changed the hosting, with changing IP. Now it works, without touching anything ¿?

What may be due?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3648
  • using Matomo instead of Google Analytics
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4334
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #7 on: March 15, 2016, 14:31:33 pm »
I solved it on adding the site URL in paypal IPN setting : https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-ipn-notify,
But the problem was not exactly the same.

Tonimito

  • Beginner
  • *
  • Posts: 17
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #8 on: March 15, 2016, 15:49:41 pm »
Thanks Studio 42,
Yes, we saw that we link POST. I think it was the same problem, as we have not touched anything of programming. We have only changed version 5.6 and PHP hosting provider has migrated to a new machine the web with changing IP. And now it works ¿?
It is simply to know where the error if it happens again or someone else happens.
Regards!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #9 on: March 15, 2016, 21:02:50 pm »
Which php version did you use before?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Tonimito

  • Beginner
  • *
  • Posts: 17
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #10 on: March 16, 2016, 10:05:58 am »
Hello,

The the previous version of PHP is 5.3, but for many working days and one day he stopped working.

Thank you.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4334
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: ERROR validateIpnContent: Error while posting IPN: , 0
« Reply #11 on: March 16, 2016, 11:20:14 am »
I had same problem, and only with my solution, the problem gone.
I called paypal, the support said to add the IPN. But is i said i don't had exactly same problem.
Some say that the problem come from OpenSSL 0.9.8(you can see release number with php info() or in Joomla php information) but in my case, this was not the problem.