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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| solved it, this just refers to local class variables... see earlier post for solution |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Worldpay Price dependant payment module | hrhstephen | osCMax v2 Customization/Mods | 1 | 06-08-2006 04:27 AM |
| Authorize.net Module Problem?? | mosquitohawk | osCommerce 2.2 Installation Help | 10 | 11-14-2005 01:00 PM |
| Payment Module Problem | ezpro | osCMax v1.7 Installation | 1 | 06-22-2004 11:31 AM |
| WorldPay Module Install | Anonymous | osCMax v1.7 General Mods Discussion | 1 | 04-19-2004 09:47 PM |
| Worldpay Module NOT transfering me back to OS-Commerce!?!? | magicant | osCommerce 2.2 Modification Help | 0 | 11-11-2003 12:54 PM |