src/Paystack.php
private function verifyTransactionAtGateway()
    {
        $transactionRef = request()->query('trxref');

        $relativeUrl = "/transaction/verify/{$transactionRef}";

        $this->response = $this->client->get($this->baseUrl . $relativeUrl, []);
    }
private function verifyTransactionAtGateway()
    {
        $transactionRef = request()->query('trxref');

        $relativeUrl = "/transaction/verify/{$transactionRef}";

        $this->response = $this->client->get($this->baseUrl . $relativeUrl, []);
    }
private function verifyTransactionAtGateway ( ) { $ transactionRef = request ( ) -> query ( 'trxref' ) ; $ relativeUrl = "/transaction/verify/{$transactionRef}" ; $ this -> response = $ this -> client -> get ( $ this -> baseUrl . $ relativeUrl , [ ] ) ; }
Hit Paystack Gateway to Verify that the transaction is valid
Hit Paystack Gateway to Verify that the transaction is valid