To add PayPal buttons to your web pages on your Office live Small Business web site, follow these steps:
- Drop a HTML module on your page.
- Right click on the module and select properties. The Editor window will pop up.
- Paste your PayPal code and click save.
Your PayPal code should look something like this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type=hidden name="cmd" value="_cart">
<input type=hidden name="business" value="you@yoursite.com">
<input type=hidden name="item_name" value="My Widget">
<input type=hidden name="item_number" value="mw1">
<input type=hidden name="amount" value="1.00">
<input type=hidden name="add" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" mce_src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit">
</form>
NOTES:
- This code brings up the PayPal cart in the same window as your site. If you want to open the cart in a new window, add a target to your form like this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal"> paypal should be lowercase. Not PAYPAL, not PayPal, and certainly not pAYpAL. If the case is not correct, a new shopping cart will be opened for you every time a button is clicked instead of adding the item to the existing shopping cart.
- To enable one-click buying instead of opening a cart, simply replace _cart on the second line of code with _xclick
- To add multiple buttons on the same page, just paste the code (with appropriate changes for item number, etc.) at each place you want to have a button. No trickery as was requred in the beta version is needed any more.