Commit 7959da3e authored by Nikolai R Kristiansen's avatar Nikolai R Kristiansen

馃悰 Prevent StripeCheckout is not defined

https://sentry.neuf.no/sentry/galtinn/issues/305/
parent 1275facf
Pipeline #746 passed with stage
in 3 minutes and 44 seconds
......@@ -32,6 +32,7 @@
<script src="https://browser.sentry-cdn.com/5.10.2/bundle.min.js" integrity="sha384-ssBfXiBvlVC7bdA/VX03S88B5MwXQWdnpJRbUYFPgswlOBwETwTp6F3SMUNpo9M9" crossorigin="anonymous"></script>
<script>Sentry.init({ dsn: '{{ SENTRY_DSN }}', environment: '{{ SENTRY_ENVIRONMENT }}' });</script>
{% endif %}
{% block preinc %}{% endblock %}
<script type="text/javascript" src="{% static 'dist/app.js' %}"></script>
<script type="text/javascript" src="{% static 'django_select2/django_select2.js' %}"></script>
{% block tailinc %}{% endblock %}
......
{% extends "base.html" %}
{% load i18n svg static mobile_app %}
{% block preinc %}<script src="https://checkout.stripe.com/checkout.js"></script>{% endblock %}
{% block nav %}{% include "nav.html" with active='home' %}{% endblock %}
{% block body %}
<script>
......
{% extends "base.html" %}
{% load i18n svg %}
{% block preinc %}<script src="https://checkout.stripe.com/checkout.js"></script>{% endblock %}
{% block nav %}{% include "nav.html" with active='membership-list' %}{% endblock %}
{% block body %}
<h2>{% svg "icons/license" %} {% trans "Memberships" %}</h2>
......
{% load i18n static %}
<script src="https://checkout.stripe.com/checkout.js"></script>
<script>
var stripe_config = {
image: '{% static "app/images/logo.png" %}',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment