Results 1 to 2 of 2

worldpay module problem

This is a discussion on worldpay module problem within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi, I want to disable/enable worldpay module by price. My php is not very good, can someone explain what $this->enabled ...

      
  1. #1
    New Member
    Join Date
    Jun 2005
    Posts
    9
    Rep Power
    0


    Default worldpay module problem

    Hi,

    I want to disable/enable worldpay module by price.

    My php is not very good, can someone explain what $this->enabled = does in worldpay.php:
    $this->enabled = ((MODULE_PAYMENT_WORLDPAY_DC_STATUS == 'True') ? true : false);

    I believe it is key to my solution and have seen others use it. When I move it to a different part of the file I get this error:

    Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in D:\apachefriends\xampp\htdocs\catalog\includes\mod ules\payment\worldpay_DC.php on line 50

    Also when I do an if statement to enable or disable $this worldpay responds with errors saying data is missing.

  2. #2
    New Member
    Join Date
    Jun 2005
    Posts
    9
    Rep Power
    0


    Default RE: worldpay module problem

    solved it, this just refers to local class variables... see earlier post for solution

Similar Threads

  1. Worldpay Price dependant payment module
    By hrhstephen in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 06-08-2006, 05:27 AM
  2. Authorize.net Module Problem??
    By mosquitohawk in forum osCommerce 2.2 Installation Help
    Replies: 10
    Last Post: 11-14-2005, 01:00 PM
  3. Payment Module Problem
    By ezpro in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 06-22-2004, 12:31 PM
  4. WorldPay Module Install
    By Anonymous in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 04-19-2004, 10:47 PM
  5. Worldpay Module NOT transfering me back to OS-Commerce!?!?
    By magicant in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 11-11-2003, 12:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •