Files
www/membership/templates/crypto_invoice.html
T
2026-10-23 13:25:45 -04:00

25 lines
2.3 KiB
HTML
Executable File

{% extends "crypto_base.html" %}
{% block content %}
<h1>{{ invoice.tier|title }} invoice</h1>
<p class="member-notice" role="status">SHKeeper status: <strong>{{ invoice.status }}</strong></p>
<dl class="crypto-details">
<dt>Invoice reference</dt><dd>{{ invoice.id }}</dd>
<dt>Membership amount</dt><dd>${{ invoice.usd_amount }} USD · one calendar month</dd>
<dt>Cryptocurrency / network</dt><dd><strong>{{ invoice.crypto }}</strong></dd>
{% if invoice.wallet %}<dt>Deposit address</dt><dd><code>{{ invoice.wallet }}</code></dd>
<dt>Initial crypto quote</dt><dd>{{ invoice.crypto_amount }} {{ invoice.crypto }}</dd>{% endif %}
{% if invoice.last_checked_at %}<dt>Last checked</dt><dd>{{ invoice.last_checked_at|date:"M j, Y H:i:s T" }}</dd>{% endif %}
</dl>
{% if invoice.credited_at %}
<p>One prepaid term has been recorded: <strong>{{ invoice.access_start|date:"M j, Y H:i T" }}</strong> through <strong>{{ invoice.access_end|date:"M j, Y H:i T" }}</strong>.</p>
<p>This invoice cannot buy another term, even if more coins arrive. Create a new invoice from Membership to renew. Access requires a confirmed paid status and is removed at expiry.</p>
{% elif invoice.wallet %}
<p>Send only <strong>{{ invoice.crypto }}</strong> on its correct network to this address. Wait for blockchain confirmations and automatic verification before expecting access.</p>
<p class="member-small">The quote is from invoice creation, not a guaranteed permanent exchange rate. SHKeeper may recalculate after its configured rate-lock window. Partial payments do not activate membership. If a balance remains after your transfer, contact the administrator for the current remainder rather than repeatedly sending the initial quote.</p>
{% else %}
<p>The invoice is reserved and awaiting payment details from SHKeeper. The worker retries automatically. Do not send funds until an address appears.</p>
{% endif %}
<p><a class="button button-secondary" href="{% url 'members:crypto_invoice' invoice.id %}">Refresh payment status</a></p>
<p class="member-small">Refreshing this page only reads stored status. The worker checks SHKeeper automatically. Crypto payments are irreversible; do not reuse a paid address for renewal. Overpayments do not automatically buy extra months.</p>
{% endblock %}