hack in the amazon stuff.
Andrew Lewman

Andrew Lewman commited on 2010-09-24 05:07:51
Zeige 1 geänderte Dateien mit 26 Einfügungen und 1 Löschungen.

... ...
@@ -78,7 +78,32 @@
78 78
     <!-- BEGIN AMAZON -->
79 79
     <div class="title topforty">Donate via Amazon Payments</div>
80 80
     	<div class="hundred left">
81
-        <p>Need to hack in the Amazon payments stuff here. </p>
81
+    <div style="width:20em;padding-left:10px;padding-top:10px;padding-right:10px;padding-bottom:10px;">
82
+	<table class="table" border="0" cellpadding="0" cellspacing="0" width="100%">
83
+	<tr>
84
+	<form action="https://authorize.payments.amazon.com/pba/paypipeline" method="post">
85
+	  <input type="hidden" name="immediateReturn" value="1" />
86
+	  <input type="hidden" name="collectShippingAddress" value="0" />
87
+	  <input type="hidden" name="signatureVersion" value="2" />
88
+	  <input type="hidden" name="signatureMethod" value="HmacSHA256" />
89
+	  <input type="hidden" name="minimumDonationAmount" value="USD 10" />
90
+	  <input type="hidden" name="accessKey" value="11SEM03K88SD016FS1G2" />
91
+	  <input type="hidden" name="signature" value="Q+R9ErF8Kcz7GFQ/CYw8aSEYlWa/otVLgxVACPvHcJM=" />
92
+	  <input type="hidden" name="isDonationWidget" value="1" />
93
+	  <input type="hidden" name="description" value="Supporting Online Anonymity &amp; Privacy" />
94
+	  <input type="hidden" name="amazonPaymentsAccountId" value="XGSROLNTXRNC3N1P4TXKMNK14LN1D6SZUD8SN1" />
95
+	  <input type="hidden" name="returnUrl" value="https://www.torproject.org/donate.html.en#outcome" />
96
+	  <input type="hidden" name="processImmediate" value="1" />
97
+	  <input type="hidden" name="cobrandingStyle" value="logo" />
98
+	  <input type="hidden" name="abandonUrl" value="https://www.torproject.org/donate.html.en#outcome" />
99
+	  <td>&nbsp;</td>
100
+	  <td><input type="text" name="amount" size="8" value="10" /></td>
101
+	  <td>&nbsp;</td>
102
+	  <td><input type="image" src="http://g-ecx.images-amazon.com/images/G/01/asp/golden_small_donate_withmsg_whitebg.gif" border="0" /></td>
103
+	</form>
104
+	</tr>
105
+	</table>
106
+    </div>
82 107
       </div>
83 108
     <! -- END AMAZON -->
84 109
     <!-- BEGIN GIVV -->
85 110