If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Payment Modules / Super-Orders-v5.0.Zen-Cart-1.5 with square_webPay-1.0.3

Super-Orders-v5.0.Zen-Cart-1.5 with square_webPay-1.0.3

Started by peter_pechesud on 25 Nov 2022, 2:31 AM · Views: 1,017

Results 1 to 2 of 2
25 Nov 2022, 2:31 AM
#1
peter_pechesud avatar

peter_pechesud

New Zenner

Join Date:
Nov 2022
Location:
St-Lambert, Canada
Posts:
29
Plugin Contributions:
0

Super-Orders-v5.0.Zen-Cart-1.5 with square_webPay-1.0.3

I'm using Zencart 1.57d with Super-Orders-v5.0.Zen-Cart-1.5 (Php 7.4), I install Square WebPay module when I try to pay with a credit card with webpay, the payment is accepted per square but zencart stop with this error in the log files:

PHP Fatal error: Cannot declare class super_order, because the name is already in use in /home/owallyco/public_html/pechesud157d/includes/classes/super_order.php on line 27

If I select "Paypal" or other payment method, it works well. So I don't know if it's related to Webpay module or I need to adjust something inside super order to support Webpay.

Zencart: 1.57d / Php 7.4

25 Nov 2022, 4:41 AM
#2
peter_pechesud avatar

peter_pechesud

New Zenner

Join Date:
Nov 2022
Location:
St-Lambert, Canada
Posts:
29
Plugin Contributions:
0

Re: Super-Orders-v5.0.Zen-Cart-1.5 with square_webPay-1.0.3

I found the issue, it comes from the facts I have a wrong version of order.php in /include/class