Add inline payment form to setup page
This commit is contained in:
parent
f1107b17a0
commit
2762fcd792
1 changed files with 7 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue