Add inline payment form to setup page

This commit is contained in:
Russell Ballestrini 2025-12-19 21:53:08 -05:00
parent f1107b17a0
commit 2762fcd792

View file

@ -111,7 +111,13 @@ There's no obligation to pay anything. : )
<br>
<br>
<a href="{{ request.link_prefix }}/billing" class="button green-button">Go to Billing</a>
<form method="post" action="/billing/checkout" style="display: inline;">
<input type="hidden" name="payment_type" value="pay_what_you_want">
<input type="hidden" name="duration_months" value="0">
{% include 'snippets/csrf.j2' %}
$<input type="text" name="amount" placeholder="10" required style="width: 60px; text-align: center;">
<button type="submit" class="green-button">Pay with Stripe</button>
</form>
<br>
<br>