def parse_line(self, line):
        try:
            message = json.loads(line)
        except ValueError:
            # Docker log messages are not JSON
            message = dict(message=line)

        message[u"_HOSTNAME"] = self._host
        message[u"_PROCESS_NAME"] = self._service
        return message
Processes the payment depending on the selected payment method. Returns a
dataset/ETHPy150Open ClusterHQ/flocker/admin/acceptance.py/TailFormatter.parse_line--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/payment/utils.py/process_payment