问题
I am currently developing a simple eCommerce site. I am looking for a lightweight non hosted ASP.net shopping cart solution that needs to
- Be able to talk to PayPal
- Integrate with current site
- Preferably handle PayPal's Instant Payment Notification
The current site uses PayPal buy it now buttons or PayPal's add to cart buttons. The issue I have with PayPal's cart is that it allows buyers to update the quantities of items in their cart prior to checkout which is unacceptable because each item in this site is unique (i.e. quantity 1).
I wrote a handler for PayPal's Instant Payment Notification in order to remove an item from the site when it was sold but it is pretty inflexible and I don't have time or money to write a good one so something that handles that would be great :)
Anybody used any non hosted ASP paypal shopping carts before and have some recommendations?
回答1:
There's always:
Shopping Cart.NET
although this may or may not be as "lightweight" as you'd like.
Alternatively, The Beerhouse has an e-commerce "module" containing a shopping cart with PayPal integration, although "The Beerhouse" itself is a complete application, and you would need to refactor out the shopping cart code for your own uses. It is much more "lightweight", however. (Note that the most recent release of The Beerhouse is for ASP.NET MVC whereas older releases are for WebForms).
回答2:
You can always pick out parts of Shopping Cart .NET to use on your site. You can use InvertedSoftware.ShoppingCart.Intergration for PayPal and InvertedSoftware.ShoppingCart.BusinessLayer for the cart. I can point you in the right direction if you like since i wrote it.
Gal
回答3:
Check out nopCommerce:
http://www.microsoft.com/web/gallery/nopCommerce.aspx
Might not be exactly what you are after, but it's pretty good, open source and you can at least have a look at how they have done things.
Hope this helps.
回答4:
If you are ok with building your shopping cart using a Control (for Web Form) or component (for ASP.NET MVC), then, you may try the ASP.NET PayPal Control for Website Payments Standard.
Here is the link : http://www.spicelogic.com/Products/ASP-NET-PayPal-Control-for-Website-Payments-Standard-4
The download also contains sample projects for paypal payment gateway integration in asp net MVC and web form.
回答5:
We haven't released yet, but if you have patient deadlines, consider DotNetMerchant (http://dotnetmerchant.org), it's a library you can add to your solution to call multiple payment processors, and we will support PayPal (Website Payments Pro, PayFlow Pro, and IPN)
来源:https://stackoverflow.com/questions/1522832/looking-for-a-lightweight-asp-net-shopping-cart-that-is-paypal-compatible