osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-08-2006, 01:51 AM
New Member
 
Join Date: Jun 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hrhstephen
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-08-2006, 04:30 AM
New Member
 
Join Date: Jun 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hrhstephen
Default RE: worldpay module problem

solved it, this just refers to local class variables... see earlier post for solution
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:36 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax