Ejemplo n.º 1
0
 /**
  * Test processACHEFTRefundWithTransactionId.
  *
  * @todo This API call returns "Invalid Customer Code" in response
  *  to a request that appears to contain valid data.
  *  Need to investigate with iATS.
  *
  * @depends testProcessLinkcreateCustomerCodeAndProcessACHEFT
  */
 public function testProcessLinkprocessACHEFTRefundWithTransactionId()
 {
     // Create and populate the request object.
     $request = array('customerIPAddress' => '', 'transactionId' => self::$ACHEFTTransationId, 'total' => '-5', 'comment' => 'ACH / EFT refund test.', 'currency' => 'USD');
     $iats = new ProcessLink(self::$agentCode, self::$password);
     $response = $iats->processACHEFTRefundWithTransactionId($request);
     //$this->assertStringStartsWith('OK', trim($response['AUTHORIZATIONRESULT']));
     $this->assertTrue(TRUE);
 }