{% extends "base.html" %} {% block title %}Test Transaction - UPI Fraud Detection{% endblock %} {% block content %}

Test Transaction for Fraud Detection

Enter transaction details to analyze potential fraud risk

{{ form.hidden_tag() }}
{{ form.amount(class="form-control form-control-lg") }} {% if form.amount.errors %}
{% for error in form.amount.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.transaction_type(class="form-select form-select-lg") }} {% if form.transaction_type.errors %}
{% for error in form.transaction_type.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.sender_id(class="form-control") }} {% if form.sender_id.errors %}
{% for error in form.sender_id.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.receiver_id(class="form-control") }} {% if form.receiver_id.errors %}
{% for error in form.receiver_id.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.location(class="form-control") }} {% if form.location.errors %}
{% for error in form.location.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.device_id(class="form-control") }} {% if form.device_id.errors %}
{% for error in form.device_id.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.merchant_category(class="form-select") }}
Select if this is a merchant transaction
{% if form.merchant_category.errors %}
{% for error in form.merchant_category.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.submit(class="btn btn-primary btn-lg") }}
How Fraud Detection Works
Machine Learning Analysis

Advanced algorithms analyze transaction patterns and behaviors

Real-time Processing

Instant risk assessment and fraud probability calculation

Risk Scoring

Comprehensive risk scores with detailed explanations

{% endblock %}