Files
slump-x-land-studio/templates/paypal-result.html
T

16 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% 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 %}