From 6b67ac6cf7447863569ef1d72d7e1146cf0ad62b Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 3 Sep 2026 00:41:16 +0545 Subject: [PATCH] feat(examples): add payment result template --- examples/payments/templates/result.html | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 examples/payments/templates/result.html diff --git a/examples/payments/templates/result.html b/examples/payments/templates/result.html new file mode 100644 index 0000000..d818eca --- /dev/null +++ b/examples/payments/templates/result.html @@ -0,0 +1,57 @@ +{% extends "base.html" %} +{% block title %}{{ gateway|capfirst }} payment {% if success %}verified{% else %}not verified{% endif %} — Demo{% endblock %} + +{% block topbar_extra %} +← Home +{% endblock %} + +{% block content %} +
+
+ + {{ gateway|capfirst }} +
+ +
+ {% if success %}✓{% else %}✗{% endif %} +
+ +

+ {{ gateway|capfirst }} payment + {% if success %}verified{% else %}not verified{% endif %} +

+ + {% if order %} +

+ Order {{ order.order_id }} is + {{ order.status }} +

+ {% endif %} + + {% if payload %} +
+ Provider payload +
{{ payload }}
+
+ {% endif %} + +
+ Back to home +
+
+{% endblock %} + +{% block scripts %} +{% if show_toast %} + +{% endif %} +{% endblock %}