TestMode Property
Turns test mode on and off for transactions sent to the current Gateway .
Syntax
public boolean isTestMode(); public void setTestMode(boolean testMode);
Default Value
False
Remarks
You can use this property to set a test mode flag that will be sent in an authorization request. Not all Gateways support test modes. If you set the TestMode property to True and the current Gateway does not support it, the class will throws an exception.