[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r23294: {website} hack in the amazon stuff. (website/branches/web20/donate/en)



Author: phobos
Date: 2010-09-24 03:07:51 +0000 (Fri, 24 Sep 2010)
New Revision: 23294

Modified:
   website/branches/web20/donate/en/donate.wml
Log:
hack in the amazon stuff.


Modified: website/branches/web20/donate/en/donate.wml
===================================================================
--- website/branches/web20/donate/en/donate.wml	2010-09-23 22:05:55 UTC (rev 23293)
+++ website/branches/web20/donate/en/donate.wml	2010-09-24 03:07:51 UTC (rev 23294)
@@ -78,7 +78,32 @@
     <!-- BEGIN AMAZON -->
     <div class="title topforty">Donate via Amazon Payments</div>
     	<div class="hundred left">
-        <p>Need to hack in the Amazon payments stuff here. </p>
+    <div style="width:20em;padding-left:10px;padding-top:10px;padding-right:10px;padding-bottom:10px;">
+	<table class="table" border="0" cellpadding="0" cellspacing="0" width="100%">
+	<tr>
+	<form action="https://authorize.payments.amazon.com/pba/paypipeline"; method="post">
+	  <input type="hidden" name="immediateReturn" value="1" />
+	  <input type="hidden" name="collectShippingAddress" value="0" />
+	  <input type="hidden" name="signatureVersion" value="2" />
+	  <input type="hidden" name="signatureMethod" value="HmacSHA256" />
+	  <input type="hidden" name="minimumDonationAmount" value="USD 10" />
+	  <input type="hidden" name="accessKey" value="11SEM03K88SD016FS1G2" />
+	  <input type="hidden" name="signature" value="Q+R9ErF8Kcz7GFQ/CYw8aSEYlWa/otVLgxVACPvHcJM=" />
+	  <input type="hidden" name="isDonationWidget" value="1" />
+	  <input type="hidden" name="description" value="Supporting Online Anonymity &amp; Privacy" />
+	  <input type="hidden" name="amazonPaymentsAccountId" value="XGSROLNTXRNC3N1P4TXKMNK14LN1D6SZUD8SN1" />
+	  <input type="hidden" name="returnUrl" value="https://www.torproject.org/donate.html.en#outcome"; />
+	  <input type="hidden" name="processImmediate" value="1" />
+	  <input type="hidden" name="cobrandingStyle" value="logo" />
+	  <input type="hidden" name="abandonUrl" value="https://www.torproject.org/donate.html.en#outcome"; />
+	  <td>&nbsp;</td>
+	  <td><input type="text" name="amount" size="8" value="10" /></td>
+	  <td>&nbsp;</td>
+	  <td><input type="image" src="http://g-ecx.images-amazon.com/images/G/01/asp/golden_small_donate_withmsg_whitebg.gif"; border="0" /></td>
+	</form>
+	</tr>
+	</table>
+    </div>
       </div>
     <! -- END AMAZON -->
     <!-- BEGIN GIVV -->