[gnomeweb-wml] Changed annual code to include paypal information Rosanna gave me.



commit 12599ab84b259cc40e36141b199510fca9cf7cad
Author: Og B. Maciel <ogmaciel gnome org>
Date:   Mon Nov 8 21:01:02 2010 -0500

    Changed annual code to include paypal information Rosanna gave me.

 www.gnome.org/friends/step2.wml |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/www.gnome.org/friends/step2.wml b/www.gnome.org/friends/step2.wml
index c2b20ce..e369091 100644
--- a/www.gnome.org/friends/step2.wml
+++ b/www.gnome.org/friends/step2.wml
@@ -151,11 +151,28 @@ improve GNOME products.</li>
 			break;
 
 			case 'annual':
-				echo '<input type="hidden" value="friends gnome org" name="business"/>
-				<input type="hidden" value="http://www.gnome.org/friends/thank-you.php"; name="return"/>
-				<input type="hidden" value="_xclick" name="cmd"/>
+				echo '
+				<!-- Identify your business so that you can collect the payments. --> 
+				<input type="hidden" name="business" value="friends gnome org"/> 
+				<!-- Specify a Subscribe button. --> 
+                                <!-- <input type="hidden" name="cmd" value="_s-xclick"> -->
+                                <input type="hidden" name="cmd" value="_xclick-subscriptions">
+                                <input type="hidden" name="hosted_button_id" value="EKNAYM7XBGGQE">
+				<!-- Identify the subscription. -->
 				<input type="hidden" name="item_name" value="Friends of GNOME - Adopt a hacker annually subscription"/> 
-				<input type="image" alt="Donate" name="submit" src="images/donate-button.png"/>';
+				<input type="hidden" value="http://www.gnome.org/friends/thank-you.php"; name="return"/>
+				<!-- Define the intervals between payments. "1" means every period. -->
+				<input type="hidden" name="p3" value="1">
+				<!-- "t3" defines the period duration (D=days; W=weeks; M=months and Y=Years). --> 
+				<input type="hidden" name="t3" value="Y">
+				<!-- "src" with a value of "1" causes it to repeat for every interval. -->
+				<input type="hidden" name="src" value="1">
+				<!-- Not sure what "sra" does. Does not seem to harm the form (part of sample). -->
+				<input type="hidden" name="sra" value="1">
+				<input type="hidden" name="currency_code" value="USD">
+				<!-- Display the payment button. --> 
+				<input type ="image" name= "submit" src="images/donate-button.png" alt="PayPal - The safer, easier way to pay online"/> 
+				<img alt="" border="0" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif"; />';
 			break;
 
 			case 'associate':



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