Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add stripe template

Unknown665c0e372543
diff --git a/templates/order/payment/stripe.html b/templates/order/payment/stripe.html
new file mode 100644
index 0000000000..c94af28ba7
--- /dev/null
+++ b/templates/order/payment/stripe.html
@@ -0,0 +1,15 @@
+{% extends "order/payment/details.html" %}
+{% load i18n %}
+
+{% block forms %}
+ <form method="POST" id="payment-form" {% if form.action %} action="{{ form.action }}"{% endif %} novalidate>
+ {% csrf_token %}
+ {{ form.media }}
+ {{ form }}
+ {% if form.errors %}
+ <a class="btn" href="{% url "order:details" token=payment.order.token %}">
+ {% trans "Change payment" context "Payment form (Stripe) secondary action" %}
+ </a>
+ {% endif %}
+ </form>
+{% endblock forms %}