def METHOD_NAME(self, valid_token, post):
    callback_hash = self._bacenpix_generate_callback_hash(self.bacenpix_txid)
    if not consteq(ustr(valid_token), callback_hash):
        _logger.warning("Invalid callback signature for transaction %d" % (self.id))
        return False
    _logger.info("Invalid callback signature for transaction %d" % (self.id))
    return self._bacenpix_check_transaction_status(post)