You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
565 B

{% extends "base.html" %}
{% load staticfiles %}
{% block title %}Pricing - It's Free! - healthchecks.io{% endblock %}
{% block content %}
<form id="checkout" method="post" action="{% url 'hc-create-subscription' %}">
{% csrf_token %}
<div id="payment-form"></div>
<input class="btn" type="submit" value="Set Up Subscription">
</form>
<script src="https://js.braintreegateway.com/v2/braintree.js"></script>
<script>
var clientToken = "{{ client_token }}";
braintree.setup(clientToken, "dropin", {
container: "payment-form"
});
</script>
{% endblock %}