Forums / PayPal RESTful support / PayPal RESTful API Payment Module

PayPal RESTful API Payment Module

Views: 84,737

Results 481 to 491 of 491
15 Jul 2026, 11:56 AM
#481
lat9 avatar

lat9

Administrator

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

PayPal RESTful API Payment Module

v1.3.4 of the non-encapsulated version of the PayPal RESTful payment module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2382

This version adds a local method to emulate $sniffer->indexExists, which isn't provided by the base Zen Cart until zc210.

17 Jul 2026, 4:13 AM
#482
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: PayPal RESTful API Payment Module

Thanks!
1.3.4 gives me new errors:

[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc158/includes/classes/db/mysql/query_factory.php(561): preg_match()
#2 /zc158/includes/classes/db/mysql/query_factory.php(513): queryFactory->getBindVarValue()
#3 /zc158/includes/modules/payment/paypal/paypal_functions.php(97): queryFactory->bindVars()
#4 /zc158/ipn_main_handler.php(199): ipn_lookup_transaction()
--> PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /zc158/includes/classes/db/mysql/query_factory.php on line 561.

[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc158/includes/classes/db/mysql/query_factory.php(177): mysqli_real_escape_string()
#2 /zc158/includes/classes/db/mysql/query_factory.php(562): queryFactory->prepare_input()
#3 /zc158/includes/classes/db/mysql/query_factory.php(513): queryFactory->getBindVarValue()
#4 /zc158/includes/modules/payment/paypal/paypal_functions.php(97): queryFactory->bindVars()
#5 /zc158/ipn_main_handler.php(199): ipn_lookup_transaction()
--> PHP Deprecated: mysqli_real_escape_string(): Passing null to parameter #2 ($string) of type string is deprecated in /zc158/includes/classes/db/mysql/query_factory.php on line 177.
[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /zc158/includes/modules/payment/paypal/paypal_functions.php(97): zen_debug_error_handler()
#1 /zc158/ipn_main_handler.php(199): ipn_lookup_transaction()
--> PHP Warning: Undefined array key "txn_id" in /zc158/includes/modules/payment/paypal/paypal_functions.php on line 97.

[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /zc158/ipn_main_handler.php(205): zen_debug_error_handler()
--> PHP Warning: Undefined array key "txn_id" in /zc158/ipn_main_handler.php on line 205.
17 Jul 2026, 10:54 AM
#483
lat9 avatar

lat9

Administrator

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

Re: PayPal RESTful API Payment Module

siliconbug:

Thanks!
1.3.4 gives me new errors:

[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc158/includes/classes/db/mysql/query_factory.php(561): preg_match()
#2 /zc158/includes/classes/db/mysql/query_factory.php(513): queryFactory->getBindVarValue()
#3 /zc158/includes/modules/payment/paypal/paypal_functions.php(97): queryFactory->bindVars()
#4 /zc158/ipn_main_handler.php(199): ipn_lookup_transaction()
--> PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /zc158/includes/classes/db/mysql/query_factory.php on line 561.

[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc158/includes/classes/db/mysql/query_factory.php(177): mysqli_real_escape_string()
#2 /zc158/includes/classes/db/mysql/query_factory.php(562): queryFactory->prepare_input()
#3 /zc158/includes/classes/db/mysql/query_factory.php(513): queryFactory->getBindVarValue()
#4 /zc158/includes/modules/payment/paypal/paypal_functions.php(97): queryFactory->bindVars()
[B]#5 /zc158/ipn_main_handler.php(199): ipn_lookup_transaction()[/B]
--> PHP Deprecated: mysqli_real_escape_string(): Passing null to parameter #2 ($string) of type string is deprecated in /zc158/includes/classes/db/mysql/query_factory.php on line 177.

> 
> ```
[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /zc158/includes/modules/payment/paypal/paypal_functions.php(97): zen_debug_error_handler()
#1 /zc158/ipn_main_handler.php(199): ipn_lookup_transaction()
--> PHP Warning: Undefined array key "txn_id" in /zc158/includes/modules/payment/paypal/paypal_functions.php on line 97.

[16-Jul-2026 07:22:51 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
#0 /zc158/ipn_main_handler.php(205): zen_debug_error_handler()
--> PHP Warning: Undefined array key "txn_id" in /zc158/ipn_main_handler.php on line 205.

That's not PayPal RESTful, that's the paypalwpp/paypaldp ipn_main_handler.php throwing those errors.

There's an open issue on GitHub (https://github.com/zencart/zencart/issues/7767) regarding other ipn_main_handler issues. This one's a bit different and it looks like the current version of ipn_main_handler.php (and paypal_functions.php) would exhibit the same issues.

Zen Cart GitHub issue created: https://github.com/zencart/zencart/issues/7917

2 Sep 2026, 7:04 PM
#484
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: PayPal RESTful API Payment Module

Is there suppose to be showing the month payments on the product info page?

2 Sep 2026, 11:18 PM
#485
lat9 avatar

lat9

Administrator

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

Re: PayPal RESTful API Payment Module

wmorris:

Is there suppose to be showing the month payments on the product info page?

Yes, if enabled. What template are you using?

3 Sep 2026, 1:43 AM
#486
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: PayPal RESTful API Payment Module

I am using Flourspar Template.

3 Sep 2026, 9:40 AM
#487
lat9 avatar

lat9

Administrator

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

Re: PayPal RESTful API Payment Module

wmorris:

I am using Flourspar Template.

The PayLater/PayIn4 messaging placement depends on the HTML layout of the template itself and has been tested on the built-in responsive_classic and the Bootstrap templates.

A notification (NOTIFY_PAYPAL_PAYLATER_MESSAGE_OBJECTS) is issued to enable templates that use different layouts as well. Can you supply a link to the site in question?

4 Sep 2026, 9:45 AM
#488
lat9 avatar

lat9

Administrator

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

Re: PayPal RESTful API Payment Module

v1.3.5 of the non-encapsulated version of the payment module is now available for download: https://www.zen-cart.com/plugins/paypal-restful-vb2382

This release contains changes associated with these GitHub issues:

#127: Correct PayPal payments when Gift Certificate/Coupon value changed during checkout.
#129: Correct PayPal response value associated with an invalid CVV value.
#128: Update language to make the wallet vs. credit-card selections more obvious.

4 Sep 2026, 9:55 AM
#489
lat9 avatar

lat9

Administrator

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

Re: PayPal RESTful API Payment Module

v2.1.2 of the encapsulated version of this payment module is now available for download: https://www.zen-cart.com/plugins/paypal-restful-encapsulated-vb2434

This release contains changes associated with these GitHub issues:

#42: Correct PayPal payments when Gift Certificate/Coupon value changed during checkout.
#41: Correct PayPal response value associated with an invalid CVV value.
#43: Update language to make the wallet vs. credit-card selections more obvious.

17 Sep 2026, 5:22 PM
#490
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: PayPal RESTful API Payment Module

It looks like there's a bug in version 1.3.5 - it uses zen_config which is not available in Zen Cart 2.1.0.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

17 Sep 2026, 5:41 PM
#491
lat9 avatar

lat9

Administrator

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

Re: PayPal RESTful API Payment Module

swguy:

It looks like there's a bug in version 1.3.5 - it uses zen_config which is not available in Zen Cart 2.1.0.

Yep, see this GitHub issue for tracking: https://github.com/lat9/paypalr/issues/130