{% extends "wafer/base.html" %} {% block title %}{{ WAFER_CONFERENCE_NAME }} - Invoice {{ object.reference_number }}{% endblock %} {% block content %} {% include 'invoices/includes/invoice.html' %}
{% if object.status == 'new' %} {% if not using_signed_url %}

Forward Invoice:

Is somebody else going to pay this on your behalf?
Send them this URL .
They will be able to combine this with other invoices, and pay them in a single payment, if desired.

Danger Zone:

If you have modified your registration and the invoice is no longer correct, you may cancel it and re-create it.

{% csrf_token %}
{% elif not object.compound %}

Combine Invoices:

If you want to pay for multiple invoices, together, you can combine them into a single invoice.

Combine Invoices
{% endif %} {% endif %}
{% if object.status == 'canceled' %}

Cancelled!

Cancelled on {{ object.last_update | date }}

{% elif object.status == 'disputed' %}

Payment Disputed!

Disputed on {{ object.last_update | date }}

{% else %}

Payment:

{% if object.status == 'new' %}
This is where the Stripe Credit Card form is displayed.
{% if STRIPE_PUBLISHABLE_KEY %} If you see this and use LibreJS, NoScript, Request Policy, or some similar browser plugin, you may need to whitelist this site or js.stripe.com in it. {% else %} Stripe integration is not configured. {% endif %}
{% elif object.status == 'pending' %}

Waiting for payment confirmation

{% elif object.status == 'paid' %}

Payment received on {{ object.last_update | date }}
Transaction number {{ object.transaction_id }}

{% endif %}
{% endif %}
{% endblock %} {% block extra_foot %} {% if object.status == 'new' and STRIPE_PUBLISHABLE_KEY %} {% endif %} {% endblock %}