src/Paystack.php
public function getAuthorizationResponse($data)
    {
        $this->makePaymentRequest($data);

        $this->url = $this->getResponse()['data']['authorization_url'];

        return $this->getResponse();
    }
public function getAuthorizationResponse($data)
    {
        $this->makePaymentRequest($data);

        $this->url = $this->getResponse()['data']['authorization_url'];

        return $this->getResponse();
    }
public function getAuthorizationResponse ( $ data ) { $ this -> makePaymentRequest ( $ data ) ; $ this -> url = $ this -> getResponse ( ) [ 'data' ] [ 'authorization_url' ] ; return $ this -> getResponse ( ) ; }
Get the authorization callback response
In situations where Laravel serves as an backend for a detached UI, the api cannot redirect
and might need to take different actions based on the success or not of the transaction
@return array
Get the authorization callback response In situations where Laravel serves as an backend for a detached UI the api cannot redirect and might need to take different actions based on the success or not of the transaction