<?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>Web Sheila &#187; paypal</title>
	<atom:link href="http://websheila.com/tag/paypal/feed" rel="self" type="application/rss+xml" />
	<link>http://websheila.com</link>
	<description>Design and Web Development</description>
	<lastBuildDate>Sat, 25 Feb 2012 14:49:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Easy paypal button integration in WordPress</title>
		<link>http://websheila.com/easy-paypal-button-integration</link>
		<comments>http://websheila.com/easy-paypal-button-integration#comments</comments>
		<pubDate>Tue, 20 Jan 2009 06:38:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress tips]]></category>
		<category><![CDATA[paypal]]></category>

		<guid isPermaLink="false">http://websheila.com/?p=126</guid>
		<description><![CDATA[Here&#8217;s another hair-pulling issue I know has troubled many people. Just how in blue-blazes do you insert Paypal code into a post? It seems such a stupendously SIMPLE thing to do and if you were just running a static html &#8230; <a href="http://websheila.com/easy-paypal-button-integration">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another hair-pulling issue I know has troubled many people. Just how in blue-blazes do you insert Paypal code into a post?</p>
<p>It seems such a stupendously SIMPLE thing to do and if you were just running a static html site it would be no hassle at all. But WordPress won&#8217;t let you do it &#8211; something about their editor thingy and php code and violations of something or other and the end of the world as we know it&#8230;.. I&#8217;m not one for details like that.</p>
<p>Anyway, the upshot is that there&#8217;s a mob of people running around on the net desperately trying to find a way around it. I know because I&#8217;ve found all their posts and read all their plaintive cries for help.</p>
<p>The problem is that everything you find is either a full-fledged ecommerce solution like Zen Cart or so simple and stripped back it doesnt cater for more than one actual physical product.</p>
<p>If you want a WordPress plugin that offers a full-featured solution there are a couple of up-to-date plugins such as wp-ecommerce or Yak that might work (both have &#8216;issues&#8217; I&#8217;ve discovered). Or if you&#8217;re looking to sell your content or subscriptions or downloads there are a number of useful plugins available (just search for &#8220;paypal&#8221; in the <a href="http://wordpress.org/extend/" target="_blank">WordPress Extensions Directory</a>). And if you just want to insert ONE button, especially a &#8220;donate&#8221; button the solutions are many and mostly very simple, though you can&#8217;t use them to sell multiple products &#8211; just the one.</p>
<p>But&#8230;.. should you want to take the <strong>wildly unusual </strong>step of having a very simple way of selling a couple or three things from your site using Paypal&#8217;s built in system&#8230;.. suddenly it all goes to hell in a handbag.</p>
<p>There are some kind souls posting lengthy complex &#8220;manuals&#8221; on how to achieve this (here&#8217;s one example if you are comfortable with changing core files &#8211; <a href="http://www.webmaster404.com/wordpress-paypal-integration/" target="_blank">www.webmaster404.com</a> though it&#8217;s a little out of date) which I&#8217;m certain have helped many a geek more code-savvy than myself. But for me, the words start to run into each other, my eyes start to glaze over and if I keep reading the instructions &#8211; my head explodes, swear to God! It&#8217;s just too complex for a simple girl like me.</p>
<p>And this <a href="http://wordpress.org/support/topic/147856?replies=12" target="_blank">WordPress support post</a> is fairly useful too, if you&#8217;re not doing this for a client who might need to add their own later.</p>
<p>Geez!! All this frustration just to insert a paypal button or two!!! Please! There MUST be something better for this purpose (though thanks must go to the people out there sharing these brilliant solutions with the public &#8211; they just don&#8217;t work in this instance).</p>
<p>I have been working on this one simple issue day and night for weeks now for one of my clients. She is being very patient, thank goodness, but meanwhile I&#8217;ve gone almost completely grey and my dogs, (who recently totally gave up on the concept of ever going for walks again) keep barking at me coz they don&#8217;t recognise this scary-eyed, grey-haired skeletal harridan that keeps emerging from the study, screaming obscenities!!</p>
<p>Anyway, if you&#8217;ve stuck with me this far you&#8217;re obviously as desperate as I was to find the solution to this bizarre problem so I will torture you no longer and skip to the point.</p>
<p>I accidentally stumbled on a brilliant solution.</p>
<p>By using a plugin called <a href="http://www.awsom.org/awsom-easier-news/">awsomnews</a> you can insert paypal codes into posts to your hearts content. This provides a simple way to get paypal integrated with your site if you want to sell less than 10 products and don&#8217;t need all the other complicated features of ecommerce plugins.</p>
<p>It&#8217;s not actually meant to be a plugin for Paypal, but it doesn&#8217;t matter. The fact is it works as a plugin for Paypal whether or not the creator intended it to.</p>
<p><strong>Setting up the Awesom News Plugin</strong></p>
<p>To use the plugin for Paypal do the following:</p>
<p>1. Download the awesomnews plugin, upload it to your site and activate it (obviously!).</p>
<p>2. Go to the awesomnews configuration page (it&#8217;ll be in the box of options for &#8220;Posts&#8221;), scroll down to the last bit that says &#8220;General Options&#8221; and make sure you:</p>
<ul>
<li>set &#8220;No&#8221; where it asks you if you want to use the &#8220;Visual Editor&#8221;</li>
<li>set &#8220;Yes&#8221; for the option to allow php</li>
<li>set &#8220;No&#8221; for the option to have your &#8220;news announcements&#8221; appear on the index page above the content.</li>
<li>Click &#8220;update options&#8221;</li>
</ul>
<p>3. Then go to to the list of &#8216;current news posts&#8217; and you should have just the one default welcome message. Delete it (it&#8217;s been announcing away on the front of your site since you installed the plugin!).</p>
<p>4. Now go to &#8220;New News Post Instructions&#8221; &#8211; this is where you will be putting the code for your Paypal button (assuming you already have it handy).</p>
<p>Okay, for the actual posts keep in mind this is NOT where you describe whatever it is you&#8217;re selling. This is ONLY for the actual Paypal code. Later you will insert a line of code into a page or post for the button to appear.</p>
<ul>
<li>Choose a display name (only for admin purposes so you can recognise each one, it wont show on your site)</li>
<li>Leave &#8220;Order Position&#8221; blank.</li>
<li>Select &#8220;Yes&#8221; to make it active (otherwise you wont be able to test it &#8211; you can always inactivate later if you want to hide it while completing the site)</li>
<li>Select who should be able to see it (usually all visitors unless you only want to sell something to registered members)</li>
<li>And the important bit &#8211; <strong>select location</strong>. This is where you can define each button. Give it a number that you assign to the line of code you will later insert in your posts/pages. So, for example, your first Paypal button will probably be &#8220;optional location 1&#8243;. So select that.</li>
<li>Then paste in your products Paypal code into the &#8220;news announcement&#8221; box and hit &#8220;add new news post&#8221;. Don&#8217;t worry. It&#8217;s not visible anywhere on the site yet &#8211; until you tell the plugin where to display it (or where location 1 is).</li>
<li>The new &#8220;news announcement post&#8221; should now show up in your list. You can keep adding more news posts for each product&#8217;s Paypal button code and assign them each an individual location.</li>
</ul>
<p><strong>Setting up your Paypal page in your content</strong></p>
<p>5. Now, once you have that all set up, go to your usual WordPress posts or pages editor and make a post as you would normally do.  Type in your fabulous description of your product, throw in a picture if you like and perhaps explain that they can use the Paypal button &#8220;below&#8221; to buy it online immediately (before they all rush out the door &#8216;n all that!!!).</p>
<p>6. Then &#8211; switch to &#8220;html&#8221; (do not do this in visual mode) and type in <strong>%% awsomnewsxx %% </strong>(without spaces and replace xx with your location number you assigned to the button earlier).</p>
<p>Save and publish the post/page and check it out on your site. Give it a minute to all load properly and you should then see your Paypal button under your content.</p>
<p>If it doesn&#8217;t appear it usually means there&#8217;s something wrong in your Paypal code. The most common problem is that old chestnut of Paypal mysteriously adding breaks into their code where there shouldn&#8217;t be breaks. Almost invariably they put a break right at the end before the very last &lt;/form&gt; bit. If you find any random breaks remove them.</p>
<p>7. Don&#8217;t forget to put in your Paypal Cart button. I used a text widget in the sidebar to add the Paypal code for the &#8220;view cart&#8221; function to the site.</p>
<p>So there ya go. Pretty simple really once you get all the code sorted and pasted in.</p>
<p>And my client finds it very simple to use &#8211; which is the most important thing.</p>
<p>Have fun! And if you cant figure out how to use it &#8211; just ask. I&#8217;ve tested it, found bugs and squashed them &#8211; so I know how to get it doing exactly what you need it to do.</p>
<p>Click here for a <a href="http://websheila.com/awsom-product">demo</a> (while it&#8217;s still there anyway).</p>
]]></content:encoded>
			<wfw:commentRss>http://websheila.com/easy-paypal-button-integration/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

