aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/payments/cart_sidepanel.html
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/templates/payments/cart_sidepanel.html')
-rw-r--r--alphabetlearning/templates/payments/cart_sidepanel.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/alphabetlearning/templates/payments/cart_sidepanel.html b/alphabetlearning/templates/payments/cart_sidepanel.html
index 7742c9a..b788d24 100644
--- a/alphabetlearning/templates/payments/cart_sidepanel.html
+++ b/alphabetlearning/templates/payments/cart_sidepanel.html
@@ -23,6 +23,9 @@
</div>
<div class="d-grid gap-2 mx-auto col-11">
- <button class="btn btn-primary btn-lg">Checkout now</button>
+ <form action="{% url 'payments:create-checkout-session' cart.id %}" method="POST">
+ {% csrf_token %}
+ <button class="btn btn-primary btn-lg">Checkout now</button>
+ </form>
</div>
</div>