ASP.NET PayPal Control for Website Payments Standard
Online Documentation.

Skip Navigation Links.

Multiple-Item Payment: View Cart Button

If you are using PayPal Add to Cart Button  in your web application, you may also want to use a View Cart Button which will take your customers to the PayPal Shopping Cart showing the added items. Please note: View Cart Button is only for displaying cart items added by Add to Cart Button. You can not use it for Upload Complete Cart Button.

In order to place a View Cart Button in your web form, please follow the following steps:

  1. Drag and drop an instance of a ViewCart Button Control from your Visual Studio Toolbox to your web form as shown below:




  2. The only property of this control that you need to set is your Business Email Address or Merchant ID. Merchant ID is an alternative to using your Email address. It is better not to expose your business email address in order to protect your Email Inbox from SPAMs. You can get your Merchant ID from your PayPal account's Profile section. You can set either Business Email or Merchant ID from the Smart Tag or from the Property Editor.

  3. You are all set. If you already have provided the LicenseKey  from the design mode Smart Tag, then clicking this button will take your customer to PayPal Shopping Cart, otherwise it will take your customer to PayPal SandBox.

Not only PayPal related properties, you can also set Image Button related properties like Image URL, Border Color, Border Width etc from the property editor.

Still Confused ?

If you are still confused, please check the sample application that comes with the setup.exe file you have downloaded from our website. Also please do not hesitate to ask us as many questions as you want from our Help Desk