/**
  * @test
  */
 public function testTransactionSearch()
 {
     $txnSearch = new TransactionSearch();
     $response = $txnSearch->searchTxn();
     $this->assertEquals("Success", $response->Ack);
     $this->assertNotNull($response->PaymentTransactions);
 }
Esempio n. 2
0
 public function transactions()
 {
     $collection = Transaction::search([TransactionSearch::ids()->in($this->transactionIds)]);
     return $collection;
 }