{% extends "base.html" %} {% block title %}Single Payments - Plutus{% endblock %} {% block content %}

Single Payments

Individual payment processing history

New Payment

Payment History

{% if payments %}
{% for payment in payments %} {% set row_class = '' %} {% if payment.Refund == True %} {% set row_class = 'has-background-light' %} {% elif payment.Refund_FollowUp == True %} {% set row_class = 'has-background-warning-light' %} {% elif payment.Success == True %} {% set row_class = 'has-background-success-light' %} {% elif payment.Success == False and payment.PI_FollowUp %} {% set row_class = 'has-background-warning-light' %} {% elif payment.Success == False and payment.Error %} {% set row_class = 'has-background-danger-light' %} {% elif payment.Success == None %} {% set row_class = 'has-background-info-light' %} {% endif %} {% endfor %}
Payment ID Date Splynx ID Stripe Customer Payment Intent Payment Method Stripe Fee Amount Processed By Data Status
#{{ payment.id }} {{ payment.Created.strftime('%Y-%m-%d') }}
{{ payment.Created.strftime('%H:%M:%S') }}
{% if payment.Splynx_ID %} {{ payment.Splynx_ID }} {% else %} - {% endif %} {% if payment.Refund == True %} {{ payment.Stripe_Customer_ID or '-' }} {% elif payment.Refund_FollowUp == True %} {{ payment.Stripe_Customer_ID or '-' }} {% elif payment.Success == True %} {{ payment.Stripe_Customer_ID or '-' }} {% elif payment.Success == False and payment.PI_FollowUp %} {{ payment.Stripe_Customer_ID or '-' }} {% elif payment.Success == False and payment.Error %} {{ payment.Stripe_Customer_ID or '-' }} {% elif payment.Success == None %} {{ payment.Stripe_Customer_ID or '-' }} {% else %} {{ payment.Stripe_Customer_ID or '-' }} {% endif %} {% if payment.Payment_Intent %} {% if payment.Refund == True %} {{ payment.Payment_Intent }} {% elif payment.Refund_FollowUp == True %} {{ payment.Payment_Intent }} {% elif payment.Success == True %} {{ payment.Payment_Intent }} {% elif payment.Success == False and payment.PI_FollowUp %} {{ payment.Payment_Intent }} {% elif payment.Success == False and payment.Error %} {{ payment.Payment_Intent }} {% elif payment.Success == None %} {{ payment.Payment_Intent }} {% else %} {{ payment.Payment_Intent }} {% endif %} {% else %} - {% endif %} {% if payment.Payment_Method %} {{ payment.Payment_Method }} {% else %} - {% endif %} {% if payment.Fee_Stripe %} {{ payment.Fee_Stripe | currency }} {% else %} - {% endif %} {% if payment.Payment_Amount %} {{ payment.Payment_Amount | currency }} {% else %} - {% endif %} {{ payment.processed_by or 'Unknown' }} {% if payment.Error %} {% set error_alert = payment | error_alert %} {% if error_alert %}
{{ error_alert.title }}
{% endif %} {% endif %}
{% if payment.PI_JSON %} {% endif %} {% if payment.Refund_JSON %} {% endif %} {% if payment.Error %} {% endif %}
{% if payment.Refund == True %} Refund {% elif payment.Refund_FollowUp == True %} Refund Processing {% elif payment.Success == True %} Success {% elif payment.Success == False and payment.PI_FollowUp %} Pending {% elif payment.Success == False %} Failed {% else %} Pending {% endif %}
{% else %}

No single payments found. Process your first payment.

{% endif %}
{% for payment in payments %} {% if payment.PI_JSON %} {% endif %} {% if payment.Refund_JSON %} {% endif %} {% if payment.Error %} {% set error_alert = payment | error_alert %} {% endif %} {% endfor %} {% endblock %}