def check_webhook_secret(app_configs=None, **kwargs):
	"""
	Check that DJSTRIPE_WEBHOOK_SECRET looks correct
	"""
	from . import settings as djstripe_settings

	messages = []

	secret = djstripe_settings.WEBHOOK_SECRET
	if secret and not secret.startswith("whsec_"):
		messages.append(
			checks.Warning(
				"DJSTRIPE_WEBHOOK_SECRET does not look valid",
				hint="It should start with whsec_...",
				id="djstripe.W003",
			)
		)

	return messages
Check that DJSTRIPE_WEBHOOK_SECRET looks correct