[git] gnupg-doc - branch, master, updated. 1e43180ee23ec011709494f906b19125cc39538f

by Werner Koch cvs at cvs.gnupg.org
Tue Oct 7 22:20:48 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, master has been updated
       via  1e43180ee23ec011709494f906b19125cc39538f (commit)
      from  5c72ed8b0c55d9da39b05dcfb8e3dd103b6e883e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1e43180ee23ec011709494f906b19125cc39538f
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Oct 7 22:20:55 2014 +0200

    web: Enforce a minimum donation of 4 Euro.

diff --git a/cgi/procdonate.cgi b/cgi/procdonate.cgi
index 3293b3c..a61c75c 100755
--- a/cgi/procdonate.cgi
+++ b/cgi/procdonate.cgi
@@ -331,7 +331,17 @@ sub check_donation ()
     $stripeamount = $data{"_amount"};
     $amount = $data{"Amount"};
     $currency = $data{"Currency"};
-    $euroamount = $data{"Euro"}
+    $euroamount = $data{"Euro"};
+
+    # Check that at least some Euros are given.  Due to Stripe
+    # processing fees and our own costs for bookkeeping we need to ask
+    # for a minimum amount.
+    if ( (not $anyerr) and ($euroamount < 4.00) ) {
+        $errdict{"amount"} = 'Sorry, due to overhead costs we do' .
+                             ' not accept donations of less than 4 Euro.';
+        $anyerr = 1;
+    }
+
 
     # Check the mail address
     if ($mail ne '' and $mail !~ /\S+@\S+\.\S+/ ) {
diff --git a/web/donate/kudos.org b/web/donate/kudos.org
index e86483e..e3c4a46 100644
--- a/web/donate/kudos.org
+++ b/web/donate/kudos.org
@@ -31,14 +31,17 @@
 | 2011 |  21 |   553 |      465 |
 | 2012 |  53 |  5991 |     4963 |
 | 2013 | 148 |  5041 |     4145 |
-| 2014 |  66 |  4059 |          |
+| 2014 | 102 |  4742 |     3985 |
 |------+-----+-------+----------|
-|      | 272 | 14829 |     9573 |
-#+TBLFM: $LR2=vsum(@I.. at II)::$LR3=vsum(@I.. at II)::$LR4=vsum(@I.. at II)
+|      |     | 16327 |    13558 |
+#+TBLFM: $LR3=vsum(@I.. at II)::$LR4=vsum(@I.. at II)
+
+# In 2014 without the 32641.27 (27429.64) from the Goteo campaign
 
 #+HTML: <div id="smallnote">
-The "net" column gives the actual value without VAT and PayPal fees.\\
-Last update: 2014-06-25
+The "net" column gives the actual value without VAT and credit card
+fees.\\
+Last update: 2014-10-07
 #+HTML: </div>
 
 * Hardware and service donations

-----------------------------------------------------------------------

Summary of changes:
 cgi/procdonate.cgi   |   12 +++++++++++-
 web/donate/kudos.org |   13 ++++++++-----
 2 files changed, 19 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list