Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

Posted

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.

  • 2 weeks later...
Posted

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

jk

Posted

We upgraded to the latest snapshot, re-installed the worldpay module and everything works fine now. Hope you get the same result :wink:

Posted

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

jk

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...