View Cart Button for ASP.NET MVC
This chapter explains the usage and facts about View Cart Button for ASP.NET MVC. If you want to learn about the Web Form Control, please visit this page. If you are using Add to Cart Button in your web site, you may also want to use a 'View Cart' Button which will take your customers to the PayPal Shopping Cart showing the added items. In fact, when your customer clicks an 'Add to Cart' button, the item associated with the clicked 'Add to Cart' button is uploaded to the PayPal hosted shopping cart and finally he/she is taken to the PayPal 'View Cart' page. But, if you want to take your customer directly to the 'View Cart' page without adding an item, then a 'View Cart' button can do that. 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. Because, 'Upload Complete Cart' button actually a single checkout button where all the shopping cart items are uploaded to the PayPal hosted shopping cart in one step where there is no chance to change the cart items by the customer. In order to render the ViewCart Button from your View Page, import the namespace "SpiceLogic.PayPalCtrlForWPS.Controls", create an instance of the component 'ViewCartButton', set the properties and finally call the method RenderForMVC(). 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 In-box from Spams. You can get your Merchant ID from your PayPal account's Profile section.