@(patron: Option[lila.plan.Patron], customer: Option[lila.plan.StripeCustomer])(implicit ctx: Context) @base.layout( moreCss = cssTag("page.css"), title = "Thank you for your support!") {

Thank you for your support!


Thank you for helping us build lichess. You rock!

Your transaction has been completed, and a receipt for your donation has been emailed to you.

@patron.map { p => @if(p.payPal.??(_.renew)) {

You now have a permanent Patron account.
@ctx.me.map { me => Check out your profile page! }

} else { @if(customer.??(_.renew)) {

Note that your Patron page only shows invoices for your monthly subscription.

But worry not, we received your donation! Thanks again!

} else {

You are now a lichess Patron for one month!
@ctx.me.map { me => Check out your profile page. }

In one month, you will not be charged again, and your lichess account will be downgraded to free.

To get a permanent Patron account, please consider making a monthly donation.

} } }

Success! Return to lichess homepage.

}