emcg Posted February 14, 2006 Posted February 14, 2006 I have paypal set up for my store & we are receiving an error. We can get through the entire checkout process in the store, then are directed to Paypal to enter info & teh payment is made and goes through. After the final confirmation in Paypal, we are receiving the following error: Fatal error: Cannot redeclare class order_total in /home/XXXX/XXXX/XXXX/includes/classes/order_total.php on line 14 XXXX are the server/files names specific to my site. Thanks!
Iggy Posted February 19, 2006 Posted February 19, 2006 I have paypal set up for my store & we are receiving an error. We can get through the entire checkout process in the store, then are directed to Paypal to enter info & teh payment is made and goes through. After the final confirmation in Paypal, we are receiving the following error: Fatal error: Cannot redeclare class order_total in /home/XXXX/XXXX/XXXX/includes/classes/order_total.php on line 14 XXXX are the server/files names specific to my site. Thanks! Do you have Credit Class and Gift Voucher installed (CCGV)? If so which version. I'm having the exact same issue at the moment and I'm trying to track down which/where/why. Thanks, Iggy Everything's funny but nothing's a joke...
Iggy Posted February 20, 2006 Posted February 20, 2006 Do you have Credit Class and Gift Voucher installed (CCGV)? If so which version. I'm having the exact same issue at the moment and I'm trying to track down which/where/why. Thanks, Iggy Well, just to answer my own question :thumbsup: From my end it wasn't a hassle with CCGV. It was a line I had deleted while adding Authnet consolidated to checkout_process.php. In the stock install it's line 49-50 // load the before_process function from the payment modules $payment_modules->before_process(); here it is in context include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PROCESS); // load selected payment module require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment($payment); // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); require(DIR_WS_CLASSES . 'order.php'); $order = new order; // load the before_process function from the payment modules $payment_modules->before_process(); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; $order_totals = $order_total_modules->process(); $sql_data_array = array('customers_id' => $customer_id, Fixed me right up and works fine. I say a big slack-jawed, drooling DUH and I hope this helps someone out. Iggy Just for anyone searching on the error mine was Fatal error: Cannot redeclare class order_total in /home/XXXX/XXXX/XXXX/includes/classes/order_total.php on line 13 Everything's funny but nothing's a joke...
ukmobile786 Posted July 6, 2007 Posted July 6, 2007 I have added paypal ipn to my website www.uk-mobilestore.co.uk on the admin page where i get my order i cam getting paypal error TABLE_HEADING_TXN_ACTIVITY TABLE_HEADING_DATE Status TABLE_HEADING_DETAILS Action TABLE_HEADING_PAYMENT_GROSS TABLE_HEADING_PAYMENT_FEE TABLE_HEADING_PAYMENT_NET_AMOUNT Jul. 06, 2007 Completed TABLE_HEADING_DETAILS £19.35 £0.66 £18.69 could som1 pleae to solve this problem
Recommended Posts
Archived
This topic is now archived and is closed to further replies.