Guest Posted November 23, 2003 Share Posted November 23, 2003 trying to add fastpay payment gateway and this error comes up Fatal error: Call to undefined function: tep_get_free_charger() in /home/sites/site5/web/catalog/includes/modules/payment/fastpay.php on line 24 any clues i have used it before with no probs had to reinstall and now it errors Link to comment Share on other sites More sharing options...
Vaughn Posted November 29, 2003 Share Posted November 29, 2003 It seems from the error msg that there is a problem with the function 'tep_get_free_charger', as I don't know what it does, I have removed it along with the code below, and now the modules appear ok in admin/modules, but have'nt installed to see what the module still works, let me know if it does. // BOF: WebMakers.com Added: Free Payments and Shipping if (tep_get_free_charger($this-> code)) { $this->enabled = ((MODULE_PAYMENT_fastpay_STATUS == 'True') ? true : false); } // EOF: WebMakers.com Added: Free Payments and Shipping Link to comment Share on other sites More sharing options...
Arien Posted December 24, 2003 Share Posted December 24, 2003 i did that but the FastPay option doesn't appear on the payments page whenyou order something.. any ideas? Link to comment Share on other sites More sharing options...
go2pub Posted January 21, 2004 Share Posted January 21, 2004 Anyone got an answer to this little problem? It's a bit of a pain. Thanks Nigel Link to comment Share on other sites More sharing options...
steve*** Posted January 21, 2004 Share Posted January 21, 2004 It seems from the error msg that there is a problem with the function 'tep_get_free_charger', as I don't know what it does, I have removed it along with the code below, and now the modules appear ok in admin/modules, but have'nt installed to see what the module still works, let me know if it does. // BOF: WebMakers.com Added: Free Payments and Shipping if (tep_get_free_charger($this-> code)) { $this->enabled = ((MODULE_PAYMENT_fastpay_STATUS == 'True') ? true : false); } // EOF: WebMakers.com Added: Free Payments and Shipping you need to comment out a few lines // BOF: WebMakers.com Added: Free Payments and Shipping // if ( tep_get_free_charger($this->code) ) { $this->enabled = ((MODULE_PAYMENT_fastpay_STATUS == 'True') ? true : false); // } // EOF: WebMakers.com Added: Free Payments and Shipping */ this should make it work, at least it did for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.