diff options
author | 53hornet <atc@53hor.net> | 2021-12-22 19:02:39 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-22 19:02:39 -0500 |
commit | 9409834cbad547e94f153eca28c53fee4b57af2a (patch) | |
tree | 75bae605de53ccb2b036b91e3aa8a123c88e998d /pages | |
parent | e943adab89d1c42cc1142bf39e0d3d5e8add77f1 (diff) | |
download | 53hor-9409834cbad547e94f153eca28c53fee4b57af2a.tar.xz 53hor-9409834cbad547e94f153eca28c53fee4b57af2a.zip |
feat: basic donation page
Diffstat (limited to 'pages')
-rw-r--r-- | pages/donate.php | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/pages/donate.php b/pages/donate.php index 82fbd8a..b7962d1 100644 --- a/pages/donate.php +++ b/pages/donate.php @@ -1 +1,19 @@ -<a href="https://www.paypal.com/donate?business=F9QZQMC55PB4W&no_recurring=0¤cy_code=USD">PayPal</a> +<h1>Donation</h1> + +<?php +if (!empty($_GET) && isset($_GET['success'])) { + printf("Thanks for supporting my work! Please continue to enjoy using my site and software."); + exit(); +} +?> + +<p> + If you like what I do, you're welcome to donate. +</p> + +<h2><a href="https://buy.stripe.com/cN24gB4nD3En3Li288">Click to Donate Once</a></h2> + +<h2><a href="https://buy.stripe.com/dR6eVfg6l2Aj2He6op">Click to Donate Monthly</a></h2> + +<?php +exit(); |