commit: 0d3af7ac18335c4ca74f9350e586313b94ea98f1
Author: Robin H. Johnson gentoo org>
AuthorDate: Sat Sep 24 00:26:46 2016 +
Commit: Robin H. Johnson gentoo org>
CommitDate: Sat Sep 24 00:30:48 2016 +
URL:https://gitweb.gentoo.org/sites/www.git/commit/?id=0d3af7ac
donate: set $5 min donation.
The foundation has recieved a number of small fraudulant donations,
possibly made to test stolen credit card numbers. These donations had
chargebacks fee levied against us by Paypal.
We are striving to verify the donations where possible, but this will
help reduce them.
Signed-off-by: Robin H. Johnson gentoo.org>
donate/index.html | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/donate/index.html b/donate/index.html
index 7168a69..8aa2f05 100644
--- a/donate/index.html
+++ b/donate/index.html
@@ -28,7 +28,20 @@ layout: tyrian
You can easily make a one-time contribution using PayPal:
-https://www.paypal.com/cgi-bin/webscr; method="post"
class="donate-form">
+
+ function validate_donation_form() {
+var amount_str = document.forms["donate-form"]["amount"].value;
+var amount_num = +amount_str; // unary conversion op
+if (isNaN(amount_num)) {
+ return false;
+}
+if (amount_num < 5.00) {
+ return false;
+}
+return true;
+ }
+
+https://www.paypal.com/cgi-bin/webscr; method="post"
class="donate-form" name="donate-form" onsubmit="return
validate_donation_form()">
@@ -41,7 +54,7 @@ layout: tyrian
https://www.gentoo.org/donate/cancel.html;>
US $
-
+
Donate!
@@ -50,7 +63,9 @@ layout: tyrian
You can use this form even if you don't have or want to create a
PayPal account.
- On the next screen, you can pay with your credit card instead.
+ On the next screen, you can pay with your credit card instead.
Please note that
+ there is a US$ 5 minimum, and you may be contacted to confirm your
donation is
+ not fraudulent.
@@ -113,4 +128,4 @@ layout: tyrian
Our presence there was only possible thanks to your support
Picture by Hanno Böck/CC-0
-
\ No newline at end of file
+