{{ _('The Mozilla Marketplace allows your app to take in-app payments. The in-app payment guide explains how to configure your app for payments with the parameters below. ')|f(guide='https://developer.mozilla.org/en/Apps/In-app_payments')|safe }}

{{ csrf() }} {% if inapp_config %} {% else %} {% endif %} {% if inapp_config %} {% else %} {% endif %}
{{ _('Application Domain') }} https://{{ addon.parsed_app_domain.netloc }}
{{ inapp_form.is_https }} {{ inapp_form.is_https.errors }} {{ inapp_form.is_https.help_text }}
{{ inapp_form.postback_url }} {{ inapp_form.postback_url.errors }} {{ inapp_form.postback_url.help_text }}
{{ inapp_form.chargeback_url }} {{ inapp_form.chargeback_url.errors }} {{ inapp_form.chargeback_url.help_text }}
{{ _('Application Key') }}({{ _('Not yet generated.') }})
{{ _('Application Secret') }} ({{ _('Not yet generated.') }})

{{ _('Reset credentials') }}

{% if inapp_config %} {% set reset = addon.get_dev_url('reset_in_app_config', [inapp_config.pk]) %} {% else %} {% set reset = '' %} {% endif %}
{{ csrf() }}

{% trans %} In case your Application Secret ever gets compromised, you can reset it here to stop all payments. After the reset, your app can no longer make payments with the old credentials. You will be granted a new Application Key and Application Secret that you can use to accept in-app payments with immediately. {% endtrans %}