extends layout.pug
block title
|Icy Network - Donate
block body
.wrapper
.boxcont
.box#donate
h1 Donate
p Donating any amount would be highly appreciated!
- var formurl = "https://www.paypal.com/cgi-bin/webscr"
if sandbox
- formurl = "https://www.sandbox.paypal.com/cgi-bin/webscr"
form(action=formurl, method="post")
input(type="hidden" name="cmd" value="_xclick")
input(type="hidden" name="business" value=business)
input(type="hidden" name="item_name" value=name)
input(type="hidden" name="item_number" value="1")
input(type="hidden" name="no_shipping" value="1")
input(type="hidden" name="quantity" value="1")
input(type="hidden" name="tax" value="0")
input(type="hidden" name="notify_url" value=ipn_url)
label(for="amount") Amount
input(type="number", name="amount" value="1.00")
select(name="currency_code")
option(value="EUR") EUR
option(value="USD") USD
if user
input#custominfo(type="hidden", name="custom", value="userid:" + user.id)
else
input#custominfo(type="hidden", name="custom", value="")
if minecraft
.check
label(for="mcinclude") Include Minecraft Username
input(id="mcinclude" type="checkbox")
.mcuname(style="display: none;")
input(id="mcusername", autocomplete="off")
.buttoncont
a.button.donate(name="submit", onclick="$(this).closest('form').submit()")
i.fa.fa-fw.fa-paypal
|Donate
br
b Currently you can only donate using a PayPal account.