computaplanet Posted May 3, 2008 Posted May 3, 2008 Hi all I am getting a strange message when customers are trying to order... Fatal error: Call to a member function on a non-object in /home/expressi/public_html/shop/checkout_process.php on line 115 When I checked out the page checkout_process.php on line 115 this code is presented: - $checkout_result = $buysafe_module->call_api('SetShoppingCartCheckout', $checkout_params); This is something to do with the buysafe module but I dont have this installed. The problem it is causing is kicking my customers out and isnt returning them to my store... I am getting a notification that people have paid and also what people have ordered but no other information (such as the delivery address)... can anyone help me or shed some light on this for me? Quote
♥geoffreywalton Posted May 4, 2008 Posted May 4, 2008 Back up that file and revert to the original version. Then reapply any contributions changes. Just a thought but is this a template shop? If not and it is one you did yourself how did it get there? A contribution or hacking? Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
computaplanet Posted May 4, 2008 Author Posted May 4, 2008 Back up that file and revert to the original version. Then reapply any contributions changes. Just a thought but is this a template shop? If not and it is one you did yourself how did it get there? A contribution or hacking? Hi sorry for sounding thick but I dont understand your responce. I havent made any changes to the payment modules except for putting in my paypal email address so the contributions I have added shouldnt affect it should they? How do you revert to the original version and original version of what? just the payment mods or the entire shop? The shop is a standard install with lots of modifications on top although the mods are mainly backend and style changes. How did what get where? thanks for replying your help is greatly appreciated!! Quote
Guest Posted May 4, 2008 Posted May 4, 2008 Hi sorry for sounding thick but I dont understand your responce. I havent made any changes to the payment modules except for putting in my paypal email address so the contributions I have added shouldnt affect it should they? How do you revert to the original version and original version of what? just the payment mods or the entire shop? The shop is a standard install with lots of modifications on top although the mods are mainly backend and style changes. How did what get where? thanks for replying your help is greatly appreciated!! It is not part of the stock osc file, so you either installed it or you have a template (as asked by geoffreywalton). Why not change it to this // $checkout_result = $buysafe_module->call_api('SetShoppingCartCheckout', $checkout_params); and see what happens? Quote
computaplanet Posted May 6, 2008 Author Posted May 6, 2008 I cannot thank you enough mate!!! You are a complete star!!! Sorted out the problem by commenting out the following // {{ buySAFE Module //$buysafe_cart_id = MODULE_BUYSAFE_BUYSAFE_CART_PREFIX . '-' . tep_session_id() . (tep_count_customer_orders()-1); //$checkout_params = array('WantsBond' => ($WantsBond ? $WantsBond : 'false'), 'orders_id' => $insert_id, 'buysafe_cart_id' => $buysafe_cart_id); //$checkout_result = $buysafe_module->call_api('SetShoppingCartCheckout', $checkout_params); //if (is_array($checkout_result) && $checkout_result['IsBuySafeEnabled'] == 'true') //{ //$update_data_array = array('buysafe_cart_id' => $buysafe_cart_id, //'buysafe_client_ip' => getenv('REMOTE_ADDR'), //'buysafe_session_id' => tep_session_id()); //tep_db_perform(TABLE_ORDERS, $update_data_array, 'update', "orders_id = '" . (int)$insert_id . "'"); //} // }} It is not part of the stock osc file, so you either installed it or you have a template (as asked by geoffreywalton). Why not change it to this // $checkout_result = $buysafe_module->call_api('SetShoppingCartCheckout', $checkout_params); and see what happens? Cheers again!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.