Re: 2CheckOut with Zen 1.3.0.2 Released
Quote:
Originally Posted by
Absolute
IF you are receiving an error, saying cannot redeclare class, then it seems that the class is being called twice. Which 4 files did you install? Have you left a backup of one of them in the payment modules directory?
Leaving backups in this folder will break the code, as it iterates through each file, and create a class form them.
Absolute
Thanks for the help,
I've copied the following files to the corresponding directories:
process_2checkout.php - (root or /cart/ folder, the rest of the folder below sit within the cart folder)
includes/modules/payment/as2checkout.php
includes/languages/english/modules/payment/as2checkout.php
includes/extra_configures/as2checkout_defines.php
Re: 2CheckOut with Zen 1.3.0.2 Released
That all looks to be correct. When does the redeclare class error appear? Which other payment modules do oyu have installed in payment directory?
Absolute
Re: 2CheckOut with Zen 1.3.0.2 Released
Quote:
Originally Posted by
Absolute
That all looks to be correct. When does the redeclare class error appear? Which other payment modules do oyu have installed in payment directory?
Absolute
Currently in the cart/includes/modules/payment directory I have:
a paypal folder
as2checkout.php
authorizenet.php
authorize_aim.php
cc.php
cod.php
freecharger.php
moneyorder.php
paypal.php
I only want to use 2Checkout, so I imagine I could delete most of thes files, unless the 2CO module relies on any of them.
In the cart/includes/languages/english/modules/payment directory, I have the exact same set of files.
Re: 2CheckOut with Zen 1.3.0.2 Released
Quote:
Originally Posted by
Absolute
That all looks to be correct. When does the redeclare class error appear? Which other payment modules do oyu have installed in payment directory?
Absolute
The error appears in the administration panel when I select Modules > Payment
Under the Pyment Modules header, it displays the error message:
Fatal error: Cannot redeclare class as2checkout in /home/headrack/public_html/cart/includes/modules/payment/as2checkout.php on line 318
Re: 2CheckOut with Zen 1.3.0.2 Released
Can you go to the file where the issue is arising - includes/modules/payment/as2checkout.php.
Then copy and paste line 315-> 320. Line 318 should only be a bracket, with the end of the file on line 319.
If this isn't the case, you may have a corrupt download. It may be worth removing these files, downloading a fresh copy and installing it again, jsut in case the download is corrupt.
Good luck
Absolute
Re: 2CheckOut with Zen 1.3.0.2 Released
Quote:
Originally Posted by
Absolute
Can you go to the file where the issue is arising - includes/modules/payment/as2checkout.php.
Then copy and paste line 315-> 320. Line 318 should only be a bracket, with the end of the file on line 319.
If this isn't the case, you may have a corrupt download. It may be worth removing these files, downloading a fresh copy and installing it again, jsut in case the download is corrupt.
Good luck
Absolute
Lines 315-320 in ascheckout.php are:
'MODULE_PAYMENT_2CHECKOUT_PRODUCTS'
);
}
}
?>
Re: 2CheckOut with Zen 1.3.0.2 Released
is there anyone who cud help me im using zencart 1.3.5 and i uploaded the 2CO payment but when im going to the checkout process and link to 2CO there is a parameter error? the products is not showing anything im new in this code is ther anyone who could help me?:cry:
Re: 2CheckOut with Zen 1.3.0.2 Released
I still use 1.3.0.1. But today I could not see an order in the admin. The sale was processed by 2CO and i got notification from 2CO in my email. But in the admin I don't see the order, what was ordered is not clear.
I wonder if this new 2CO mod for 1.3.0.2 will help or if others are having the same problem.
Re: 2CheckOut with Zen 1.3.0.2 Released
Little more info: hoping that the order details might be still in my database, I checked : zen_2checkout, zen_orders, zen_orders_products.
But I don't see any trace of the customer or his order.
Re: 2CheckOut with Zen 1.3.0.2 Released
When we contacted 2CO, all the info was retrieved. they gave this answer:
"This sale may have been closed before it was completed so this is why
your cart does not have the sale recorded. If you view the sale detail in
the 2CheckOut system you will see a button on the right titled "Unknown
Parameters". If you click this button you will see a section with
product creation parameters. This is what was purchased for this order. I
have included it below for reference.
Parameter: c_description_1 Value: wool blanket-001
Parameter: c_price_1 Value: blah blah
Parameter: id_type Value: blah
Parameter: c_prod_1 Value: blah
Parameter: c_name_1 Value: blah ........" (quantity, model, unit price, etc)
Is it fixed in the latest 2CO mod? I use 2CO mod downloaded in August.
It might those who lost order report.