How to get a notification when someone has sent money using PayPal 开发者_如何学JAVAor Credit Card in Asp.NET?
Are you using some sort of payment processor (like paypal)? If so, they should have a way of notifying you when such an event occurs. This is usually done with them POSTing the data to a URL that you given them in your account setup. At that point it is as easy as having your site respond to POST requests with to that URL With webforms, this means either having an .aspx page, or [recommended] having a generic handler (ashx). For MVC, you simply need to have an action method on the controller that the POST request is routed to.
HTH
精彩评论