There are many solutions/products that PayPal provides for websites to integrate with PayPal payment. I would like to know what's the simplest or easiest solution to integrate PayPal into ASP.NET MVC web applications. Which solution I should use? It would be helpful if someone who had the done this before can share his or her experience. Thanks.
相关问题
- MVC-Routing,Why i can not ignore defaults,The matc
- Get payment by transaction ID using PayPal API
- parameters in routing do not work MVC 3
- There is no ViewData item with the key 'taskTy
- TextBoxFor decimal
相关文章
- How to get a list of connected clients on SignalR
- How do you redirect to the calling page in ASP.NET
- Change color of bars depending on value in Highcha
- The program '[4432] iisexpress.exe' has ex
- ASP.Net MVC 4 Bundles
- How to get server path of physical path ?
- Cannot implicitly convert Web.Http.Results.JsonRes
- entity type has no key defined - Code first
Integrating PayPal with MVC is not your issue. Integrating your ecommerce checkout process is the hard part. PayPal has a very nice pre-packaged assembly you just need to reference and your basically done.
My main point is that your technology stack isn't what you should be focusing on here. Instead learn the PayPal API and how it fits into your existing codebase.
Recently I implemented a PayPal 'Buy Now' button in a ASP.NET MVC Razor view. In the end the button is just a HTML form that is posted to the PayPal website. However, it took me some time to find out which hidden form fields were required, and which optional fields I could also use to further configure the payment process. I have published my experiences on my blog: http://buildingwebapps.blogspot.com/2012/01/single-item-paypal-buttons-and.html. There you will also find the source code for an MVC Html helper method that makes rendering single-item PayPal buttons less work.