added beginnings of stripe payment for subscriptions

This commit is contained in:
Oscar Cao
2025-01-19 21:20:12 +00:00
parent c0afafd07b
commit b8624c94a1
13 changed files with 81 additions and 2 deletions

View File

@@ -4,6 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Live Stream</title>
{% block header_config %}
{% endblock %}
</head>
<body>
{% block main_content %}

View File

@@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block header_config %}
<link rel="stylesheet" href="style.css" />
<script src="https://js.stripe.com/v3/"></script>
<script src="{{ url_for('static', filename='checkout.js') }}" defer></script>
{% endblock %}
{% block main_content %}
<!-- Display a payment form -->
<div id="checkout">
<!-- Checkout will insert the payment form here -->
</div>
{% endblock %}