{% extends "base.html" %} {% block title %}Batch #{{ batch.id }} - Plutus{% endblock %} {% block content %}
Created: {{ batch.Created.strftime('%Y-%m-%d %H:%M:%S') if batch.Created else 'Unknown' }}
Total Payments
{{ summary.payment_count or 0 }}
Payment Amount
{{ summary.total_amount | currency }}
Stripe Fees
{{ summary.total_fees | currency }}
Successful
{{ summary.successful_count or 0 }}
Failed
{{ summary.failed_count or 0 }}
Errors
{{ summary.error_count or 0 }}
Success Rate
{% if summary.payment_count and summary.payment_count > 0 %} {% set success_rate = (summary.successful_count or 0) / summary.payment_count * 100 %}{{ "%.1f"|format(success_rate) }}%
{% else %}0%
{% endif %}| Splynx ID | Stripe Customer | Payment Intent | Follow Up | Last Check | Payment Method | Stripe Fee | Amount | Data | Status |
|---|---|---|---|---|---|---|---|---|---|
| {% if payment.Splynx_ID %} {{ payment.Splynx_ID }} {% else %} - {% endif %} |
{% if 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.Success == True %}
{{ payment.Payment_Intent or '-' }}
{% elif payment.Success == False and payment.PI_FollowUp %}
{{ payment.Payment_Intent or '-' }}
{% elif payment.Success == False and payment.Error %}
{{ payment.Payment_Intent or '-' }}
{% elif payment.Success == None %}
{{ payment.Payment_Intent or '-' }}
{% else %}
{{ payment.Payment_Intent or '-' }}
{% endif %}
|
{% if payment.PI_FollowUp %} Follow Up {% else %} No {% endif %} | {{ payment.PI_Last_Check.strftime('%Y-%m-%d %H:%M') if payment.PI_Last_Check else '-' }} | {% 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 %} | {% if payment.Success == True %} Success {% elif payment.Success == False %} Failed {% else %} Pending {% endif %} |
No payments found in this batch.
Payment Intent JSON - Payment #{{ payment.id }}
{{ payment.PI_JSON | format_json }}
Follow Up JSON - Payment #{{ payment.id }}
{{ payment.PI_FollowUp_JSON | format_json }}
Payment Error - Payment #{{ payment.id }}
{{ payment.Error }}