Wednesday, September 28, 2011

How to Create a Shopping Cart with PayPal

Paypal makes it very easy to create a shopping cart on your website. I will show you two ways to do it, first the easy way and then the more secure (but really not that hard either) way. Paypal makes money by charging a small percentage of the purchase price. They deduct that automatically from the payment, so that's easy as well. The only caveat is that if your monthly sales are more than $3000 US you have to apply for a merchant account. After your merchant account is approved, the rates drop the more you sell.

But first, there is some information you need to know in order to set up your Paypal store:

Paypal Shopping Cart Requirements

  • A Paypal account
    If you don't have a Paypal account, go to Paypal and sign up for one. Use an email address you want associated with your shopping cart. The best is to use an address that is on the domain of your website, but it's not required.
  • Something to sell
    You'll need to know the item's name, price, and optionally shipping costs and tax rate.
  • A website
    This can be any website at all, from a personal page to a specialized domain
  • An HTML editor
    So that you can add your shopping cart to the page

The Easy Way to Set Up a PayPal Shopping Cart

The easiest way to set up a Paypal shopping cart is to copy the HTML following code where you want the "Buy Now" button.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="cmd" value="_xclick">
 <input type="hidden" name="business" value="PAYPAL EMAIL ADDRESS">
 <input type="hidden" name="lc" value="US">
 <input type="hidden" name="item_name" value="ITEM FOR SALE">
 <input type="hidden" name="amount" value="PRICE">
 <input type="hidden" name="currency_code" value="USD">
 <input type="hidden" name="button_subtype" value="products">
 <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif"
 border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
 <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
 </form> 
Change the three bold items to your values, specifically:
  • PAYPAL EMAIL ADDRESS - the address you receive paypal funds from
  • ITEM FOR SALE - a short description or title of the item for sale
  • PRICE - Do not include the dollar-sign, and do include the pennies, even if it's an even number (ie. 800.00 - not $800) The price will be in US dollars.
You can put that form on every page that you want to sell something, just change the price and description

The Better Way to Set Up a Paypal Shopping Cart

While it's very easy to put the above code anywhere you want to sell something, there are some problems with doing it that way:
  • Your Paypal email address is written in clear text in your HTML - wide open for spammers to harvest
  • It is just one button, "Buy Now", there are no other options
  • You don't have any options for price and options on what you're selling
  • And lots of other options
To solve this, you should go to Paypay directly. They have a button designer you can use to
For security reasons, I don't recommend clicking on any link directly into Paypal, even if you trust the source. Instead, you should type in http://www.paypal.com into your browser window, and navigate to the button designer directly:
  1. Go to http://www.paypal.com/
  2. Mouse over the "Get Paid" option in the menu and then click on "Accept Credit Cards"
  3. Click on the "Setting Up" tab
  4. Click on "set up your button"
Once you're in the button builder you can customize lots of options on your form, including:
  • Change it to an "add to cart" button so that customers can shop for multiple items
  • Accept donations, set up subscriptions, or sell gift certificates
  • Use item IDs to have Paypal help you with your inventory (with a Paypal business account)
  • Change currencies or set up multiple prices (for different sizes or options)
  • Add in shipping fees and taxes
  • Most importantly have Paypal use a Merchant ID for your transactions, so your email address is secure.
  • Customize checkout pages (with a Paypal business account)
  • And lots of other options
Once you're done choosing your options, click on the "Save Changes" button. Then just paste the code that is generated into your HTML editor where you want the button.

Read More

Website Design Hyderabad




23 comments:

  1. Good post there is . As we can now make our shopping cart. But how to promote it to get more visitors? The answer is we can take help of the search engine optimization in India

    ReplyDelete
  2. The info u have shared here is quite valuable and useful.Thanks a lot for sharing this with such a good presentation.
    Ecommerce Cart

    ReplyDelete
    Replies
    1. Thanks for sharing such a useful information. I hope it will certainly help people searching for some reliable and Create a Shopping Cart with PayPal services. Thanks a lot.
      Online Reputation Management

      Delete
  3. The PayPal Shopping Cart is a low-cost way to accept credit card and bank account payments, and can be fully integrated with website in a few easy steps. When a buyer clicks the "Add to Cart" button, a new window will appear listing the contents of the buyer's PayPal Shopping Cart, including the item just added. To make the purchase, the buyer clicks "Checkout" from this window.

    SEO Services USA

    ReplyDelete
  4. SEO is a very effective marketing tool that can help big in optimizing a site's visibility. And once the site becomes visible on the search engines, traffic must be come! Hence, SEO is not only important for online businesses, it's crucial.Seo Outsourceing

    ReplyDelete
  5. pan card is compulsory for paypal account.

    Php Developer India

    ReplyDelete
  6. I have read your post is really very mind blowing and impressive.
    your post is full of with great ideas.
    online auctions :Designated trademarks, logos and brands are the property of their respective owners. Use of this web site constitutes acceptance of the Torontoauctionhouse.com Site Access and Purchase Agreementand Privacy Policy.

    ReplyDelete
  7. I absolutely admired every bit of it and i additionally accept you book apparent to analysis out fresh things in your site.
    by Home work Assignments provider

    ReplyDelete
  8. Your item is both informative and interesting. You’ve made your points clear and I agree on most of them.
    by LAW 421 Final Exam Provider

    ReplyDelete
  9. Now a days this shopping cart sites are most popular..Thanks for sharing this code!!!! Web Designing India

    ReplyDelete
  10. Really great work!!

    Hello, I just wanted to let you recognize about Richmind Softlabs Web Design company , as it is one of the most excellent Web Development service providers these days. Go check it out! http://www.richmindsoftlabs.com/

    ReplyDelete
  11. Really nice effort...This is so much more than i needed!!! but will all come in use thanks!!Website Designing Company Bangalore | Web Design Company Bangalore

    ReplyDelete
  12. An awesome method for creating shopping cart with paypal..Very helpful post by author..
    Marine Engineering in Chennai, BSC Nautical Science Colleges

    ReplyDelete
  13. I actually loved reading your blog. It was very well authored and very simple to understand.Highway Restaurant in Thanjavur

    ReplyDelete
  14. Thank you for sharing valuable information. Nice post. I enjoyed reading this post.Patanjali products in thanjavur,Patanjali medicine thanjavur



    ReplyDelete
  15. The posted notes is handsomely in writing. I have bookmarked you for keeping abreast with your new dispatched letterss.Old Age Home in Coimbatore, Charitable Trust in Coimbatore

    ReplyDelete
  16. Thanks for sharing your idea with us...it's really a knowledgeable blog and I am very happy that I found this website. Know about Cross Graphic Ideas a leading website designing, web development company in jaipur offering best services like website design, mobile apps and SEO/SMO.

    ReplyDelete
  17. Such a Nice Post .Really Like to read it .Find a Usefull Content after Long time .Thanks for Sharing Such Nice Content .Keep Posting ..You May Also Like ...
    Best Psychologist in India
    Online Chemistry Classes
    Automobiles Cars Detail Reviewsmust visit

    ReplyDelete
  18. Very nice… i really like your blog…
    your article is so convincing.
    Impressive!Thanks for the post..
    Interesting stuff to read. Keep it up.
    Also Check out
    Top hill stations of india
    Best Valley View Hotel of Mussoorie
    reasons to visit mussoorie
    Latest International News

    ReplyDelete