{% extends "base.html" %} {% block title %}Payment Search - Admin Dashboard - {{ project_name }}{% endblock %} {% block content %}

Payment Search

Search and investigate payment transactions

Search Payments

Search across user email, Stripe IDs, and payment descriptions

to
to
Clear
{% if payments %}

Payment Results

{{ total_results }} result{{ total_results|pluralize }}
{% for payment in payments %} {% endfor %}
Date User Type Amount Status Description Actions
{{ payment.created_at|date:"M d, Y" }}
{{ payment.created_at|date:"H:i" }}
{{ payment.user.email }} {{ payment.get_payment_type_display }} ${{ payment.amount }} {{ payment.currency|upper }} {{ payment.get_status_display }} {% if payment.description|length > 40 %} {{ payment.description|slice:":40" }}... {% else %} {{ payment.description|default:"—" }} {% endif %}
Investigate {% if payment.status == 'succeeded' and payment.payment_type != 'REFUND' %} {% endif %}
{% if payments.has_other_pages %} {% endif %}
{% elif search_query or payment_type or status or user_email or stripe_payment_intent_id or amount_min or amount_max or date_from or date_to %}

No payments found matching your search criteria.

Try adjusting your search filters or clearing them to see all payments.

{% else %}

Payment Search

Use the search form above to find specific payments for investigation or support.

Quick Tips:
  • Search by user email to find all payments for a specific user
  • Use Stripe Payment Intent ID for exact payment lookup
  • Filter by payment type (Credit Purchase, Subscription, Refund)
  • Use date ranges to narrow down investigation periods
{% endif %}
{% endblock %}