This commit is contained in:
adueck 2022-10-15 09:24:12 +05:00
parent 30f9d9d754
commit 6d8ee6d237
1 changed files with 7 additions and 2 deletions

View File

@ -61,9 +61,14 @@
<p>Wating for upgrade approval</p>
<% } %>
<% if (user.tester) { %>
<p>Upgrade to Student account for Wordlist features</p>
<form action="/payment/create-checkout-session" method="POST">
<input type="hidden" name="product_id" value="prod_McF18BoMSgnLcQ" />
<button class="btn btn-sm btn-secondary" id="checkout-and-portal-button" type="submit">Upgrade Account</button>
<input type="hidden" name="lookup_key" value="price_1Lt0XdJnpCQCjf9pM9qqdyt6" />
<button class="btn btn-sm btn-secondary" id="checkout-and-portal-button" type="submit">$1/month</button>
</form>
<form action="/payment/create-checkout-session" method="POST">
<input type="hidden" name="lookup_key" value="price_1Lt0XdJnpCQCjf9pHk1MQqCC" />
<button class="btn btn-sm btn-secondary" id="checkout-and-portal-button" type="submit">$10/year</button>
</form>
<% } %>
<% } %>