testMode (property)
Turns test mode on and off for transactions sent to the current Gateway .
Syntax
@property (nonatomic,readwrite,assign,getter=testMode,setter=setTestMode:) BOOL testMode; - (BOOL)testMode; - (void)setTestMode:(BOOL)newTestMode;
public var testMode: Bool { get {...}
set {...} }
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 fails with an error.