Docs: Add API guide on custom checkout

This commit is contained in:
Raphael Michel
2019-08-13 13:11:26 +02:00
parent 98c18b162f
commit 1cbab04108
7 changed files with 161 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ class ReturnURLApp(AppConfig):
name = _("Redirection from order page")
author = _("the pretix team")
version = version
description = _("This plugin allows to link to payments and redirect back afterwards.")
description = _("This plugin allows to link to payments and redirect back afterwards. This is useful in "
"combination with our API.")
def ready(self):
from . import signals # NOQA

View File

@@ -3,6 +3,18 @@
{% load bootstrap3 %}
{% block inside %}
<h1>{% trans "Redirection from order page" %}</h1>
<p>
{% blocktrans trimmed %}
This feature is useful if you use only the payment component of pretix but build your own checkout interface
for other steps.
{% endblocktrans %}
</p>
<p>
<a href="https://docs.pretix.eu/en/latest/api/guides/custom_checkout.html" target="_blank" rel="noopener">
<span class="fa fa-question-circle"></span>
{% trans "Read our documentation for more information" %}
</a>
</p>
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form_errors form %}