indigo Posted June 24, 2003 Posted June 24, 2003 Hi, We're trying to config the latest version of Worldpay MS1 - Version 'a' (Ian-san update), and having a few problems which I hope you can help me with. I've followed the instructions to the letter although the version of MS1 that we have does not have the catalog/includes/filenames.php. I have therfore added this to catalog/includes/application_top.php file instead as suggested in another thread. The module seems to install correctly but when I try to activate it I get the following error: Warning: call_user_func() expects first argument, 'tep_get_order_status_name', to be a valid callback in /home/leaderfloouk/public_html/catalog/admin/includes/functions/general.php on line 1226 If I then try to edit the details within the module, I get a further error: Fatal error: Call to undefined function: tep_cfg_pull_down_order_statuses() in /home/leaderfloouk/public_html/catalog/admin/modules.php(204) : eval()'d code on line 1 Is this something to do with the missing filenames.php file Any pointers in the right direction would be appreciated! Thanks in advance Quote
Guest Posted July 1, 2003 Posted July 1, 2003 indigo, I'm not much of a php guru, but I've had similar problems. I've found that the error appears to be caused by line 170 of "includes>modules>payment>worldpay.php" tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values ('Set Order Status', 'MODULE_PAYMENT_WORLDPAY_ORDER_STATUS_ID', '0', 'Set the status of orders made with this payment module to this value', '6', '0', 'tep_cfg_pull_down_order_statuses(', 'tep_get_order_status_name', now())"); I've simply added a "//" in front of the line to make it a comment. Alternatively, you could remove 'MODULE_PAYMENT_WORLDPAY_ORDER_STATUS_ID' from the end of line 183 of the same module. Let's hope someone finds a proper fix for this problem soon! It would be nice to be able to use Pre-Auth... Chad. Quote
scottymcloo Posted July 1, 2003 Posted July 1, 2003 Pre-auth works fine in the Worldpay module - double check your instalation. Quote
joekilo Posted July 14, 2003 Posted July 14, 2003 hi thanks for the above info i had exactly the same problem and no one had the answer....i used your alternative by deleting on line 183.....i would just like to check if this causes any further problems within or does everything work as it should? cheers Quote jk
indigo Posted July 14, 2003 Author Posted July 14, 2003 We upgraded to the latest snapshot, re-installed the worldpay module and everything works fine now. Hope you get the same result :wink: Quote
joekilo Posted July 14, 2003 Posted July 14, 2003 do i have to do this i am on cvs 2.2.....my test orders are not showing in my admin...is this related to what ive deleted or is there something i am not doing right...cos the test order go through ok? please advise Quote jk
joekilo Posted July 14, 2003 Posted July 14, 2003 hi sorry i have fixed (i think) i missed a digit from my callback in worldpay admin..cheers Quote jk
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.