<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gorancic.com &#187; PayPal</title>
	<atom:link href="http://www.gorancic.com/blog/tag/paypal/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gorancic.com/blog</link>
	<description>Gorancic.com Blog</description>
	<lastBuildDate>Sun, 09 May 2010 11:25:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>C#: PayPal Donate Button</title>
		<link>http://www.gorancic.com/blog/net/c-paypal-donate-button</link>
		<comments>http://www.gorancic.com/blog/net/c-paypal-donate-button#comments</comments>
		<pubDate>Sun, 14 Dec 2008 04:15:41 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Donate]]></category>
		<category><![CDATA[PayPal]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=49</guid>
		<description><![CDATA[If you have a PayPal account and would like to add a donate button to your application you can use the following code.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
private void btnDonate_Click&#40;object sender, System.EventArgs e&#41;
&#123;
    string url = &#34;&#34;;
&#160;
    string business     = &#34;my@paypalemail.com&#34;;  // your paypal email
    string [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a PayPal account and would like to add a donate button to your application you can use the following code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> btnDonate_Click<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, <span style="color: #000000;">System</span>.<span style="color: #0000FF;">EventArgs</span> e<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    <span style="color: #FF0000;">string</span> url <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;&quot;</span><span style="color: #008000;">;</span>
&nbsp;
    <span style="color: #FF0000;">string</span> business     <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;my@paypalemail.com&quot;</span><span style="color: #008000;">;</span>  <span style="color: #008080; font-style: italic;">// your paypal email</span>
    <span style="color: #FF0000;">string</span> description  <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Donation&quot;</span><span style="color: #008000;">;</span>            <span style="color: #008080; font-style: italic;">// '%20' represents a space. remember HTML!</span>
    <span style="color: #FF0000;">string</span> country      <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;AU&quot;</span><span style="color: #008000;">;</span>                  <span style="color: #008080; font-style: italic;">// AU, US, etc.</span>
    <span style="color: #FF0000;">string</span> currency     <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;AUD&quot;</span><span style="color: #008000;">;</span>                 <span style="color: #008080; font-style: italic;">// AUD, USD, etc.</span>
&nbsp;
    url <span style="color: #008000;">+=</span> <span style="color: #666666;">&quot;https://www.paypal.com/cgi-bin/webscr&quot;</span> <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;?cmd=&quot;</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;_donations&quot;</span> <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;business=&quot;</span> <span style="color: #008000;">+</span> business <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;lc=&quot;</span> <span style="color: #008000;">+</span> country <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;item_name=&quot;</span> <span style="color: #008000;">+</span> description <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;currency_code=&quot;</span> <span style="color: #008000;">+</span> currency <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;bn=&quot;</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;PP%2dDonationsBF&quot;</span><span style="color: #008000;">;</span>
&nbsp;
    <span style="color: #000000;">System.<span style="color: #0000FF;">Diagnostics</span></span>.<span style="color: #0000FF;">Process</span>.<span style="color: #0000FF;">Start</span><span style="color: #000000;">&#40;</span>url<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/c-paypal-donate-button/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
