summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2019-12-14 15:39:22 -0500
committerLukas Fleischer <lfleischer@calcurse.org>2019-12-14 15:39:22 -0500
commit648aabfdfd6805d823223706fbb22bfc855c7fcc (patch)
tree210c80709a9c19147e2af46aae06b7942ec09eb4
parentaaa01f5306320e41cabf319de2b0e7facf3fd6c4 (diff)
downloadcalcurse.org-648aabfdfd6805d823223706fbb22bfc855c7fcc.tar.gz
calcurse.org-648aabfdfd6805d823223706fbb22bfc855c7fcc.zip
Bump minimum donation amount
To counteract fraudulent card testing on our donations page, the minimum amount is increased from $10 to $15. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r--donate/index.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/donate/index.html b/donate/index.html
index e180787..11068a4 100644
--- a/donate/index.html
+++ b/donate/index.html
@@ -40,12 +40,12 @@
</p>
<div style="text-align:center;">
<ul class="donate-list">
- <li><a href="javascript:openHandler(10, 'eur')">10&euro;</a></li>
- <li><a href="javascript:openHandler(20, 'eur')">20&euro;</a></li>
+ <li><a href="javascript:openHandler(15, 'eur')">15&euro;</a></li>
+ <li><a href="javascript:openHandler(25, 'eur')">25&euro;</a></li>
<li><a href="javascript:openHandler(50, 'eur')">50&euro;</a></li>
<li class="sp"><a href="javascript:openHandler(100, 'eur')">100&euro;</a></li>
- <li><a href="javascript:openHandler(10, 'usd')">$10</a></li>
- <li><a href="javascript:openHandler(20, 'usd')">$20</a></li>
+ <li><a href="javascript:openHandler(15, 'usd')">$15</a></li>
+ <li><a href="javascript:openHandler(25, 'usd')">$25</a></li>
<li><a href="javascript:openHandler(50, 'usd')">$50</a></li>
<li class="sp"><a href="javascript:openHandler(100, 'usd')">$100</a></li>
<li><a href="javascript:customHandler('eur')">Custom</a></li>
@@ -86,17 +86,17 @@ function openHandler(val, currency) {
if (location.search == '?test') {
key = 'pk_test_zNePe3wvpZ65O3nEeFq4QL2j';
- if (amount == 10 && currency == 'eur') { sku = 'sku_FCzblNv0bYaoQI'; }
+ if (amount == 15 && currency == 'eur') { sku = 'sku_FCzblNv0bYaoQI'; }
else if (currency == 'eur') { sku = 'sku_FCzhhakpezzfNM'; quantity = amount; }
} else {
key = 'pk_live_g0aFHViGhTkfSSCFmDCr5UI8';
- if (amount == 10 && currency == 'eur') { sku = 'sku_FCzFTZCpwz8JIC'; }
- else if (amount == 20 && currency == 'eur') { sku = 'sku_FCzFJ8F1Rk05zV'; }
+ if (amount == 15 && currency == 'eur') { sku = 'sku_FCzFTZCpwz8JIC'; }
+ else if (amount == 25 && currency == 'eur') { sku = 'sku_FCzFJ8F1Rk05zV'; }
else if (amount == 50 && currency == 'eur') { sku = 'sku_FCzEbnD8412915'; }
else if (amount == 100 && currency == 'eur') { sku = 'sku_FCzGvr7QbVAfT1'; }
else if (currency == 'eur') { sku = 'sku_FCzoJb3BhiYq5o'; quantity = amount; }
- else if (amount == 10 && currency == 'usd') { sku = 'sku_FCzGO4XmG0KR5e'; }
- else if (amount == 20 && currency == 'usd') { sku = 'sku_FCzGsXx3auV8Wx'; }
+ else if (amount == 15 && currency == 'usd') { sku = 'sku_FCzGO4XmG0KR5e'; }
+ else if (amount == 25 && currency == 'usd') { sku = 'sku_FCzGsXx3auV8Wx'; }
else if (amount == 50 && currency == 'usd') { sku = 'sku_FCzGqqQ4XTm6H6'; }
else if (amount == 100 && currency == 'usd') { sku = 'sku_FCzGnScoElSBYd'; }
else if (currency == 'usd') { sku = 'sku_FCzomymP9IL7Sj'; quantity = amount; }