ccavenue get payment status from response url

2019-07-23 22:12发布

问题:

I am using iframe approach in a .net mvc app and we are setting one return url while sending the request. My question is how can i know the payment status & ccavenue payment reference no and other payment related params from response url

My retun url action is something like this

    [HttpGet]
    public ActionResult ResponseCCPayment()
    {
        //but how to read reposne params from here   
        return Content("got response frm ccveue");

    }

From CCAvenue documentation i can see redirect_url CCAvenue will post the status of the order along with the parameters to this URL

But no details on what parameters. Can someone help to get this

回答1:

  • Login to the merchant account. There you have an option to download the relevant documents about the returned parameters list. (Merchant Account : https://login.ccavenue.com/jsp/merchant/merchantLogin.jsp)
  • In the Merchant Account you can configure a url to which a asynchronous response will be sent when a customer has made a payment. In this asynchronous response, you can get those payment related info.
  • There is also a separate REST api method, that takes the order id as argument and return payment related details.

Hope this helps.