Rikki,
A number of questions for you - I need answers to them all unfortunately.
When you say you have set it up live at WorldPay:
1: Have you forwarded an Activation Request Form to WorldPay?
2: Have WorldPay tested the installation and given you the go ahead to put through live transactions?
This is very important since you should not send any live transactions (test mode 0 in the module admin) until WorldPay have activated the account.
What is the 'Transaction Mode' set to in the module admin?
In your WorldPay control panel configuration you should have the following settings:
Callback URL: http://<wpdisplay item="MC_callback">
Callback Enabled: box ticked
Use callback response? : box ticked
Attach callback data to failure email? : box ticked
You should certainly not just 'butcher the line of text out'.
in includes/templates/template_default/templates/tpl_wpcallback_default.php st lines 208 and 320 the code is
Code:
if ($testMode !== 0) {echo WP_TEST_HEADING . "<br /><br />";}
$testmode is sent by the Zencart script to WorldPay as part of the transaction token. WorldPay simply return this unchanged with their response. $testmode is set to the value of Transaction Mode set in the module admin - ie '0', '100', or '101'.
The logic is if it's not '0' then it must be '100 or '101' so display the 'Test transaction' message.
Regards,
Alan