protected function getStatus($response, $isRedirect)
    {
        if ($isRedirect) {
            return new Status('pending');
        }

        if (isset($response['PAYMENTINFO_0_PAYMENTSTATUS'])
            && $response['PAYMENTINFO_0_PAYMENTSTATUS'] == 'Pending') {
            return new Status('pending');
        }

        return new Status('paid');
    }