PayPal Error log

Views: 1,305

Results 1 to 8 of 8
11 Sep 2025, 6:22 AM
#1
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

PayPal Error log

Hi All,

I am using 1.5.8a version with PHP 8.1 and have been getting these error logs lately as shown below.

10-Sep-2025 15:10:32 Australia/Sydney] Request URI: /admin/index.php?cmd=orders&oID=27773&action=edit, IP address: 112.141.5.62, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/modules/payment/paypal/paypal_curl.php(582): str_replace()
#2 /includes/modules/payment/paypal/paypal_curl.php(597): paypal_curl->_parseNameValueList()
#3 /includes/modules/payment/paypal/paypal_curl.php(477): paypal_curl->_logTransaction()
#4 /includes/modules/payment/paypal/paypal_curl.php(366): paypal_curl->_request()
#5 /includes/modules/payment/paypalwpp.php(643): paypal_curl->GetTransactionDetails()
#6 /includes/modules/payment/paypalwpp.php(612): paypalwpp->_GetTransactionDetails()
#7 /admin/orders.php(812): paypalwpp->admin_notification()
#8 /admin/index.php(11): require('/home/a1ntacxxxx')
--> PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /includes/modules/payment/paypal/paypal_curl.php on line 582.

[10-Sep-2025 15:10:32 Australia/Sydney] Request URI: /admin/index.php?cmd=orders&oID=27773&action=edit, IP address: 112.141.5.62, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/modules/payment/paypal/paypal_curl.php(623): strstr()
#2 /includes/modules/payment/paypal/paypal_curl.php(477): paypal_curl->_logTransaction()
#3 /includes/modules/payment/paypal/paypal_curl.php(366): paypal_curl->_request()
#4 /includes/modules/payment/paypalwpp.php(643): paypal_curl->GetTransactionDetails()
#5 /includes/modules/payment/paypalwpp.php(612): paypalwpp->_GetTransactionDetails()
#6 /admin/orders.php(812): paypalwpp->admin_notification()
#7 /admin/index.php(11): require('/home/a1ntacxxxx')
--> PHP Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /includes/modules/payment/paypal/paypal_curl.php on line 623.

[10-Sep-2025 15:10:32 Australia/Sydney] Request URI: /admin/index.php?cmd=orders&oID=27773&action=edit, IP address: 112.141.5.62, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/modules/payment/paypal/paypal_curl.php(582): str_replace()
#2 /includes/modules/payment/paypal/paypal_curl.php(480): paypal_curl->_parseNameValueList()
#3 /includes/modules/payment/paypal/paypal_curl.php(366): paypal_curl->_request()
#4 /includes/modules/payment/paypalwpp.php(643): paypal_curl->GetTransactionDetails()
#5 /includes/modules/payment/paypalwpp.php(612): paypalwpp->_GetTransactionDetails()
#6 /admin/orders.php(812): paypalwpp->admin_notification()
#7 /admin/index.php(11): require('/home/a1ntacxxxx')
--> PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /includes/modules/payment/paypal/paypal_curl.php on line 582.

[10-Sep-2025 15:10:32 Australia/Sydney] Request URI: /admin/index.php?cmd=orders&oID=27773&action=edit, IP address: 112.141.5.62, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/modules/payment/paypalwpp.php(3228): urldecode()
#2 /includes/modules/payment/paypalwpp.php(647): paypalwpp->_errorHandler()
#3 /includes/modules/payment/paypalwpp.php(612): paypalwpp->_GetTransactionDetails()
#4 /admin/orders.php(812): paypalwpp->admin_notification()
#5 /admin/index.php(11): require('/home/a1ntacxxxx.')
--> PHP Deprecated: urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in /includes/modules/payment/paypalwpp.php on line 3228.

Do I need to update the module as I have shut it down to see if I get any other errors.

As always if someone can point me in the right direction it would be appreciated.

Outdoorking
Live Site https://www.outdoorking.com.au

13 Sep 2025, 1:34 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: PayPal Error log

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Sep 2025, 2:33 AM
#3
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: PayPal Error log

DrByte:

Apply these updates:
https://github.com/zencart/zencart/pull/6703/files

That modification just removed my PayPal Express Checkout (rev1.5.8) and only left PayPal website payments module.

I had to delete the modifications to get my PayPal Express modules back again

Did I do something wrong?

Outdoorking
Live Site https://www.outdoorking.com.au

13 Sep 2025, 2:42 AM
#4
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: PayPal Error log

Sorry my error did not add the green lines.

Looks ok now.

Outdoorking
Live Site https://www.outdoorking.com.au

14 Sep 2025, 12:26 PM
#5
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: PayPal Error log

Hi

This is the new error log

[14-Sep-2025 22:17:19 Australia/Sydney] Request URI: /ipn_main_handler.php?type=ec, IP address: 149.167.180.176, Language id 1
#0 /includes/modules/payment/paypalwpp.php(3110): zen_debug_error_handler()
#1 /includes/modules/payment/paypalwpp.php(1831): paypalwpp->_errorHandler()
#2 /ipn_main_handler.php(75): paypalwpp->ec_step1()
--> PHP Warning: Undefined array key "L_ERRORCODE2" in /includes/modules/payment/paypalwpp.php on line 3110.

Any assistance would be appreciated.

Outdoorking
Live Site https://www.outdoorking.com.au

14 Sep 2025, 12:46 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: PayPal Error log

You're making a lot of work for yourself (and others) by trying to correct issues in various zc158a-era scripts that have already been corrected over the past 2 1/2 years.

Rather than focusing on correcting those issues, might I suggest that you look instead to upgrading your site to zc210?

21 Sep 2025, 4:13 AM
#7
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: PayPal Error log

Thans for the suggestion but would it not be better to fix what little issues that I have prior to starting a new lot of problems.

The PayPal and AUPost are about the last issue I have with the site at presnt and after changing the code (PayPal) I am now getting more errors than before.

I am trying to start up a local copy of 2.1 so I can test modules that I need in the new version of zencart.

Outdoorking
Live Site https://www.outdoorking.com.au

21 Sep 2025, 7:12 AM
#8
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: PayPal Error log

This is like starting now developing software for Windows 10
You're investing in software that is PHP 8.1 compatible which is going to reach it's End of Life within several weeks. 100% sure

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/