/** * Test processACHEFTWithCustomerCode. * * @depends testCredentials */ public function testProcessLinkprocessACHEFTWithCustomerCode() { // Create and populate the request object. $request = array('customerIPAddress' => '', 'customerCode' => self::$ACHEFTCustomerCode, 'invoiceNum' => '00000001', 'total' => '5', 'comment' => 'Process direct debit test with Customer Code.', 'currency' => 'USD'); $iats = new ProcessLink(self::$agentCode, self::$password); $response = $iats->processACHEFTWithCustomerCode($request); $this->assertStringStartsWith('OK', trim($response['AUTHORIZATIONRESULT'])); }