Online Store
PayPal Tutorial for Single Item Purchase and PayPal Shopping Cart
PayPal Single Item Purchase | PayPal Shopping Cart
PayPal Single Item Purchase Resources
Please note that PayPal links to SederGraphics to show examples of single item purchase. SederGraphics is not affiliated with PayPal and this IS NOT a PayPal Demo site.
 

Purchase Web Design Templates with PayPal PayPal Single Item Purchase PayPal's single item purchase is the easiest way to accept payments online. With PayPal there is no need to have an online merchant account to accept credit cards. All you need is a checking account.
To sign up for PayPal CLICK HERE.

Below is the only HTML code needed to set up a PayPal single item purchase. There are 3 main values that must be edited.

1. The third lines is the business variable which passes your PayPal email address. PayPal uses your registered email address as your business account identifier.
2. Next item is the item_name variable which passes the name of the product you are selling. For an example we have SederGraphics Volume 4 listed.
3. The last critical variable is the amount. Change the value of this to your products purchase price.

Additional customizations
The code below will use PayPal's default buy now button. You can use PayPal's button or use your own to fit your site style. To use your own image you will first need to upload your image to your web server. Then replace the the URL (http://www.paypal.com/en_US/i/btn/x-click-but01.gif) with your own URL.

Please note that you must be set up with PayPal to accept payments.
To sign up for PayPal CLICK HERE.


<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
< input type="hidden" name="cmd" value="_xclick">
< input type="hidden" name="business" value="YourPayPal@EmailAddress.com">
< input type="hidden" name="currency_code" value="USD">
< input type="hidden" name="item_name" value="SederGraphics Volume 4">
< input type="hidden" name="amount" value="60.00">
< input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
< /form>
 
PayPal Shopping Cart
 

PayPal Single Item Purchase PayPal's Shopping Cart purchase is a better way to your customers to shop if you have multiple products. By using the shopping cart customers can add an item to the shopping cart and continue shopping. In addition to the code for the shopping cart, we've included code to include a button so that your customers can check the content of their shopping cart.

With PayPal there is no need to have an online merchant account to accept credit cards. All you need is a checking account.
To sign up for PayPal CLICK HERE.

Below is the only HTML code needed to set up a PayPal single item purchase. The code items that need to be customized are in blue.

Additional customizations
The code below will use PayPal's default buy now button. You can use PayPal's button or use your own to fit your site style. To use your own image you will first need to upload your image to your web server. Then replace the the URL (
http://images.paypal.com/en_US/i/btn/x-click-but22.gif) with your own URL.

Please note that you must be set up with PayPal to accept payments.
To sign up for PayPal CLICK HERE.


Add an Item to your PayPal shopping cart
<form method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="business" value="YourPayPal@EmailAddress.com">
<input type="hidden" name="item_name" value="SederGraphics Volume 4">
<input type="hidden" name="item_number" value="Your Item Number">
<input type="hidden" name="amount" value="5.95">
<input type="hidden" name="shipping" value="1.00">
<input type="hidden" name="shipping2" value="0.50">
<input type="hidden" name="handling" value="2.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="http://www.yoursite.com/thankyou.htm">
<input type="hidden" name="undefined_quantity" value="1">
<input type="image" src="http://images.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" name="submit" width="87" height="23" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
 

After you add the code for customers to add products to their PayPal Shopping Cart, you will probably want to give them a way to check their cart contents if they wish to continue shopping on your website.

Additional customizations
To use your own image for the Shopping Cart button, you will first need to upload your image to your web server. Then replace the the URL (
http://www.yoursite.com/shoppingcart.gif) with your own URL.

 
Add an button to display PayPal shopping cart contents
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="display" value="1">
<input type="hidden" name="business" value="YourPayPal@EmailAddress.com">
<input type="hidden" name="receiver_email" value="YourPayPal@EmailAddress.com">
<input type="hidden" name="mrb" value="R-3WH47588B4505740X">
<input type="hidden" name="pal" value="ANNSXSLJLYR2A">
<input type="image" name="submit" src="http://www.yoursite.com/shoppingcart.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
 
Sign up for PayPal and start accepting credit card payments instantly.
Copyright © 2006 SederGraphics. All rights reserved.
Web Design by SederGraphics
SederGraphics' Terms & Conditions