Somewhere there is missing code and it is not testing as enabled when the checkout_payment page is run ...
This could be a typo or a test blocking the:
$this->enabled
from evaluating as true when the module is run ...
Somewhere there is missing code and it is not testing as enabled when the checkout_payment page is run ...
This could be a typo or a test blocking the:
$this->enabled
from evaluating as true when the module is run ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Looks like this is setting it to 0 or false vs true ... and false means OFF or HIDE
PHP Code:
//$this->enabled = ((MODULE_PAYMENT_TTransfer_STATUS == 'True') ? true : false);
$this->enabled = (strcasecmp(MODULE_PAYMENT_TTransfer_STATUS, 'True') == 0);
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi hello hello
I know this problem is rather simple to the PHP coders. But not foer me. Yes Ajeh you are right, the code below means forever true, even if I set it False in Admin, it will still be true. Another dead end:-
$this->enabled = (strcasecmp(MODULE_PAYMENT_TTransfer_STATUS, 'True') == 1)
If I use :- $this->enabled = ((MODULE_PAYMENT_TTransfer_STATUS == 'True') ? true : false), this code will be forever False even if I set it to True.
So anyone, please help to get the right code.Thank you
I still cant get this to work.
Anyone with a golden touch to solve this thing?![]()
How about zipping up the two files for this and attaching them here![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Don't shoot yourself ... this is easy to fix ...
You know how the moneyorder.php file has either:
MONEYORDER
moneyorder
You should have:
TTRANSFER
ttransfer
But you have mixed case ...
This is mixing up the code and causing issue ...
I just redid moneyorder with changing all:
moneyorder to ttransfer
MONEYORDER to TTRANSFER
In both the code and the language files and voila!
Now it is your turn to delete the old ones you made off the server and redo them ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks