protected function getStatus(array $response)
    {
        switch ($status = Arr::get($response, 'status', 'paid')) {
            case 'active':
            case 'trial':
            case 'unpaid':
            case 'failed':
                return new Status($status);
            case 'completed':
                return new Status('paid');
            case 'in_progress':
                return new Status('pending');
            case 'cancelled':
                return new Status('canceled');
            case 'verified':
                return new Status('active');
            case 'past_due':
                return new Status('failed');
            case 'deleted':
                return new Status('canceled');
        }
    }