{% extends 'base.html' %} {% load humanize %} {% block title %}Payment {{ payment.reference }} — PhinTech Solutions{% endblock %} {% block content %}

Developer Payment Detail

{{ developer }}  ·  v{{ system_version }}
{% if payment.status in 'pending,processing,failed' %}
{% csrf_token %}
{% csrf_token %}
{% endif %} Back
{% for msg in messages %}
{{ msg }}
{% endfor %}
Payment Information
Reference
{{ payment.reference }}
Status
{% if payment.status == 'completed' %} Completed {% elif payment.status == 'processing' %} Processing {% elif payment.status == 'pending' %} Pending {% elif payment.status == 'failed' %} Failed {% else %} {{ payment.get_status_display }} {% endif %}
Amount
KES {{ payment.amount|floatformat:2|intcomma }}
Payment Type
{{ payment.get_payment_type_display }}
Description
{{ payment.description }}
Payer Phone
{{ payment.payer_phone }}
Initiated By
{{ payment.initiated_by.get_full_name|default:"—" }}
Created
{{ payment.created_at|date:"d M Y, H:i:s" }}
{% if payment.completed_at %}
Completed
{{ payment.completed_at|date:"d M Y, H:i:s" }}
{% endif %}
{% if payment.admin_notes %}
Notes

{{ payment.admin_notes|linebreaksbr }}

{% endif %} {% if payment.failure_reason %}
Failure Reason

{{ payment.failure_reason }}

{% endif %}
M-Pesa / LipiaOnline Details
M-Pesa Receipt
{% if payment.mpesa_receipt %} {{ payment.mpesa_receipt }} {% else %} {% endif %}
Checkout ID
{{ payment.lipia_checkout_id|default:"—" }}
Transaction ID
{{ payment.lipia_transaction_id|default:"—" }}
{% if payment.raw_initiation_response %}
{{ payment.raw_initiation_response }}
{% endif %} {% if payment.raw_callback_data %}
{{ payment.raw_callback_data }}
{% endif %}
{{ developer }}
System v{{ system_version }}
{% endblock %}