I have a Payment controller, which exposes an HttpPost action method called Notify. This action is posted to when my external payment service sends me an Immediate Payment Notification (IPN), and it’s sole purpose is to update my data based on the data I receive in the IPN. It never returns a view, so what should my action method return? I’m sure the payment service wants an HTTP 200 or something in response to the IPN post.
I have a Payment controller, which exposes an HttpPost action method called Notify .
Share
You could return an empty result: