Configure shop app, admin sidebar, media routing, and Stripe dependencies

This commit is contained in:
zach committed 2026-11-24 00:16:35 +00:00
commit 93d83a0d63
188 files changed
+9220

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{% extends 'base.html' %}{% load slx_brand %}
{% block title %}Chapter checkout · SLUMP X LAND{% endblock %}
{% block content %}
<main class="section article theme-shop"><p class="kicker">{{ "SLUMP X LAND"|slx_brand }} · PayPal checkout</p><h1>{{ purchase.chapter.title|slx_brand }}</h1>
<p><strong>${{ purchase.amount|floatformat:2 }} USD</strong></p>
{% if revoked %}<p>This order is closed. Contact SLX Studio if you need help with a payment.</p>
{% elif start_failed %}<p>PayPal checkout could not start. Return to the chapter to try again.</p>
{% else %}
{% if verify_failed %}<p>We couldn’t confirm the payment yet. Retry the verification below; it uses the same PayPal order.</p>{% else %}
<p>Complete checkout to confirm the PayPal payment and unlock this chapter on your account.</p>{% endif %}
<form method="post" action="{% url 'paypal-finish' purchase.checkout_id %}">{% csrf_token %}<button class="cta" type="submit">Complete checkout</button></form>
{% endif %}
<p><a href="{% url 'chapter' purchase.chapter.number %}">Return to chapter</a></p>
</main>
{% endblock %}