original_string: public function verify($transactionRef)
      {
          $transactionData = $this->getTransactionResource()->verify($transactionRef);
  
          if ($transactionData instanceof \Exception) {
              throw $transactionData;
          }
  
          if ($transactionData['status'] == TransactionContract::TRANSACTION_STATUS_SUCCESS) {
              return [
                  'authorization' => $transactionData['authorization'],
                  'customer'      => $transactionData['customer'],
                  'amount'        => $transactionData['amount'],
                  'plan'          => $transactionData['plan'],
              ];
          }
  
          return false;
      }
code: public function verify($transactionRef)
      {
          $transactionData = $this->getTransactionResource()->verify($transactionRef);
  
          if ($transactionData instanceof \Exception) {
              throw $transactionData;
          }
  
          if ($transactionData['status'] == TransactionContract::TRANSACTION_STATUS_SUCCESS) {
              return [
                  'authorization' => $transactionData['authorization'],
                  'customer'      => $transactionData['customer'],
                  'amount'        => $transactionData['amount'],
                  'plan'          => $transactionData['plan'],
              ];
          }
  
          return false;
      }
code_tokens: public function verify ( $ transactionRef ) { $ transactionData = $ this -> getTransactionResource ( ) -> verify ( $ transactionRef ) ; if ( $ transactionData instanceof \ Exception ) { throw $ transactionData ; } if ( $ transactionData [ 'status' ] == TransactionContract :: TRANSACTION_STATUS_SUCCESS ) { return [ 'authorization' => $ transactionData [ 'authorization' ] , 'customer' => $ transactionData [ 'customer' ] , 'amount' => $ transactionData [ 'amount' ] , 'plan' => $ transactionData [ 'plan' ] , ] ; } return false ; }
docstring: Verify Transaction.
  
  @param $transactionRef
  
  @throws \Exception
  
  @return array|bool
docstring_tokens: Verify Transaction .