PayPal Button Examples

Paypal Buttons

Paypal can be embeded in Google Sites as seen in the following examples. 

Make a copy of your Paypal html code because it will be converted to a Google Gadget and may not be visibly editable as a gadget. 

It is very important to set target="paypal" or 
target="_blank" so that the Paypal cart window opens in a new window and not in the Google Gadget iframe. 

You should be familiar with the PayPal <form> code and Form Elements so you can make the necessary adjustments.

Paypal Button Example 01:

(+ Shipping options )

<form action="" target="paypal" method="post">
Paypal ® Book 2009 - Price:$150
<p><b>Shipping</b><br> USA: 
<input checked="checked" name="shipping" value="10.00" type="radio"> 
<br> Europe: <input name="shipping" value="20.00" type="radio"> 
<br> Antarctica: <input name="shipping" value="30.00" type="radio"></p>
<input name="shipping2" value="5.00" type="hidden">

<input src="" alt="Paypal ® Book 2009" name="submit" border="0" type="image">
<img src="" border="0" width="1" height="1"><input value="1" name="add" type="hidden">
<input value="_cart" name="cmd" type="hidden">
<input value="" name="business" type="hidden">
<input value="Paypal ® Book 2009" name="item_name" type="hidden">
<input value="paypal2009" name="item_number" type="hidden">

<input value="150.00" name="amount" type="hidden">
<input value="2" name="no_shipping" type="hidden">
<input value="" name="return" type="hidden">
<input value="" name="cancel_return" type="hidden">
<input value="1" name="no_note" type="hidden">
<input value="USD" name="currency_code" type="hidden">
<input value="US" name="lc" type="hidden">
<input value="PP-ShopCartBF" name="bn" type="hidden"><br> </p>

<form action="" target="paypal" method="post">
<input value="_cart" name="cmd" type="hidden">
<input value="" name="business" type="hidden">
<input src="" alt="Paypal ® Book 2009" name="submit" border="0" type="image">
<input value="1" name="display" type="hidden"><br>  

Paypal Button Example 02:

(with comments):


<form target="paypal" action="" method="post" style="margin: 0px">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="">
<input type="hidden" name="item_name" value="Your Item Name">
<input type="hidden" name="custom" value="">
<input type="hidden" name="return" value="">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="quanity" value="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="amount" value="25.00">

<!-- COMMENTS -->
<input type="hidden" name="on0" value="Extra Comments">Enter Item Comments:<br>
<TEXTAREA ROWS="4" COLS="20" name="os0">

<!-- ADD to Cart Button -->

<input src="" alt="Product Name" name="submit" border="0" type="image" />

<!-- View Cart Button --> 
<input src="" alt="view Cart" name="submit" border="0" type="image"><input value="1" name="display" type="hidden"> 


Full List of allowed Html Variables in PayPal