Zen Cart v2.0.1
paypalr-1.0.2
https://alchemycabinet.com
I'm trying to get this plugin to work. I used to use it or one very similar with great results, so I'd really like to get it up and running again.
I may not have my configuration data correct on the PayPal side; I may have to contact them to help me with that.
Before I do that I want to make sure the Zen Cart side is functioning properly, but if I do a test run to check out with PayPal, I get the following errors:
The cart sends me to this url:
https://alchemycabinet.com/ipn_main_handler.php?type=ec which simply says the cart can't handle the request.
The admin logs send me these errors (both errors for each instance):
[09-Aug-2024 17:17:42 UTC] Request URI: /ipn_main_handler.php?type=ec, IP address: 207.173.41.241
--> PHP Fatal error: Uncaught TypeError: CouponValidation::is_product_valid(): Argument #2 ($coupon_id) must be of type int, string given, called in /includes/functions/functions_gvcoupons.php on line 90 and defined in /includes/classes/CouponValidation.php:14
Stack trace:
#0 /includes/functions/functions_gvcoupons.php(90): CouponValidation::is_product_valid(2, '')
#1 /includes/modules/order_total/ot_coupon.php(635): is_product_valid(2, '')
#2 /includes/modules/order_total/ot_coupon.php(138): ot_coupon->get_order_total('')
#3 /includes/classes/order_total.php(197): ot_coupon->process()
#4 /includes/modules/payment/paypalwpp.php(1635): order_total->pre_confirmation_check()
#5 /ipn_main_handler.php(81): paypalwpp->ec_step1()
#6 {main}
thrown in /includes/classes/CouponValidation.php on line 14.
[09-Aug-2024 17:17:42 UTC] Request URI: /ipn_main_handler.php?type=ec, IP address: 207.173.41.241
--> PHP Fatal error: Uncaught TypeError: CouponValidation::is_product_valid(): Argument #2 ($coupon_id) must be of type int, string given, called in /includes/functions/functions_gvcoupons.php on line 90 and defined in /includes/classes/CouponValidation.php:14
Stack trace:
#0 /includes/functions/functions_gvcoupons.php(90): CouponValidation::is_product_valid(2, '')
#1 /includes/modules/order_total/ot_coupon.php(635): is_product_valid(2, '')
#2 /includes/modules/order_total/ot_coupon.php(138): ot_coupon->get_order_total('')
#3 /includes/classes/order_total.php(197): ot_coupon->process()
#4 /includes/modules/payment/paypalwpp.php(1635): order_total->pre_confirmation_check()
#5 /ipn_main_handler.php(81): paypalwpp->ec_step1()
#6 {main}
thrown in /includes/classes/CouponValidation.php on line 14.
I have no idea what is going on there as I don't have any coupons enabled or in use.
Thanks in advance for any help you can give. :)
ETA: I don't have either of the other PayPal modules enabled, so I don't think they're interfering with each other.
Bookmarks