def parse(self, response, response_time):
        if hasattr(response, 'to_dict'):
            response = response.to_dict()

        debug_string = " paython.gateways.stripe.parse() -- Dict response: "
        logger.debug(debug_string.center(80, '='))
        logger.debug("\n %s" % response)

        new_response = {}

        # alright now lets stuff some info in here
        new_response['response_time'] = response_time
        # determining success
        new_response['response_text'] = response['failure_message'] or 'success'
        new_response['approved'] = True if not response['failure_message'] else False
        # trans type ;)
        new_response['trans_type'] = 'credit' if response.get('amount_refunded') > 0 else 'capture'

        for key in self.RESPONSE_KEYS.keys():
            if response.get(key):
                if key == 'amount':
                    response[key] = '%.2f' % (float(response[key])/float(100))

                new_response[self.RESPONSE_KEYS[key]] = response[key]
        return new_response
turn the response into a dict and attach these things:
dataset/ETHPy150Open abunsen/Paython/paython/gateways/stripe_com.py/Stripe.parse