{% extends "base.html" %} {% block title %}Configuração Confra{% endblock %} {% block content %} {% set webhook_url_default = webhook_defaults['url'] if webhook_defaults is defined and webhook_defaults and 'url' in webhook_defaults else '' %} {% set webhook_url_pix_default = webhook_defaults['pix_url'] if webhook_defaults is defined and webhook_defaults and 'pix_url' in webhook_defaults else '' %} {% set capepay_master = capepay_master_resumo if capepay_master_resumo is defined else None %} {% set webhook_section = diagnostico.sections.webhook if diagnostico is defined and diagnostico and diagnostico.sections is defined and diagnostico.sections and diagnostico.sections.webhook is defined else None %} {% set config_pix_ref = config_pix if config_pix is defined and config_pix else namespace(descricao='', ativo=False, ambiente='producao', base_url='https://api.confrapix.com.br/api', credenciais_basicas_configuradas=False, webhook_url=None, webhook_configurado=False, timeout_seconds=30, verify_ssl=True, pix_dinamico_ativo=True, pix_estatico_ativo=False, bolepix_ativo=False, expiracao_horas=24, observacoes=None, ultimo_teste_em=None, ultimo_erro=None) %} {% set diagnostico_pix_ref = diagnostico_pix if diagnostico_pix is defined and diagnostico_pix else namespace(status_badge_class='secondary', status_label='Opcional', errors=[], warnings=[], checks=[], sections=namespace(pix=namespace(ready=False, enabled=False), webhook=namespace(configured=False, effective_url=None, public=False))) %} {% set pix_section = diagnostico_pix_ref.sections.pix if diagnostico_pix_ref and diagnostico_pix_ref.sections is defined and diagnostico_pix_ref.sections and diagnostico_pix_ref.sections.pix is defined else None %} {% set webhook_pix_section = diagnostico_pix_ref.sections.webhook if diagnostico_pix_ref and diagnostico_pix_ref.sections is defined and diagnostico_pix_ref.sections and diagnostico_pix_ref.sections.webhook is defined else None %}
{% endblock %} {% block scripts %} {% endblock %}