{% extends "base.html" %} {% block title %}Payment #{{ payment.id }} - Plutus{% endblock %} {% block content %}

Single Payment #{{ payment.id }}

Processed: {{ payment.Created.strftime('%Y-%m-%d %H:%M:%S') if payment.Created else 'Unknown' }}

Back to Payments
{% if payment.Success == True %} {% elif payment.Success == False %} {% else %} {% endif %}
{% if payment.Success == True %}

Payment Successful

This payment has been completed successfully.

{% elif payment.Success == False %}

Payment Failed

This payment could not be completed.

{% else %}

Payment Pending

This payment is still being processed.

{% endif %}
{% if payment.PI_FollowUp %} {% endif %}

Payment Information

Payment ID #{{ payment.id }}
Splynx Customer ID {% if payment.Splynx_ID %} {{ payment.Splynx_ID }} {% else %} - {% endif %}
Stripe Customer ID {{ payment.Stripe_Customer_ID or '-' }}
Payment Intent {{ payment.Payment_Intent or '-' }}
Payment Method {% if payment.Payment_Method %} {{ payment.Payment_Method }} {% else %} - {% endif %}
Created {{ payment.Created.strftime('%Y-%m-%d %H:%M:%S') if payment.Created else '-' }}
Processed By {{ payment.processed_by or 'Unknown' }}

Financial Details

Payment Amount {{ payment.Payment_Amount | currency }}
Stripe Fee {{ payment.Fee_Stripe | currency if payment.Fee_Stripe else '-' }}
Tax Fee {{ payment.Fee_Tax | currency if payment.Fee_Tax else '-' }}
Total Fees {{ payment.Fee_Total | currency if payment.Fee_Total else '-' }}
{% if payment.PI_FollowUp %}
Follow-up Required: This payment requires additional processing. {% if payment.PI_Last_Check %}
Last checked: {{ payment.PI_Last_Check.strftime('%Y-%m-%d %H:%M:%S') }} {% endif %}
{% endif %}
{% if payment.Error %}

Error Information

{{ payment.Error }}
{% endif %}
{% if payment.PI_JSON %}

Payment Intent JSON

{{ payment.PI_JSON | format_json }}
{% endif %} {% if payment.PI_FollowUp_JSON %}

Follow-up JSON

{{ payment.PI_FollowUp_JSON | format_json }}
{% endif %}
{% endblock %}