Hi, I went through the postback API in which it is mentioned whenever any order is either cancelled or completed, A registered postback will be called. I am getting HEAD request with the registered url not the POST request. Can you help me into this asap?
Hi Rajesh Sharma, The JSON payload is posted as a raw HTTP POST body. You will have to read the raw body and then decode it. The checksum is SHA-256 hash of order_id + timestamp + api_secret
The JSON payload is posted as a raw HTTP POST body.
You will have to read the raw body and then decode it.
The checksum is SHA-256 hash of order_id + timestamp + api_secret
You can check out example here.
For example, if i register postback call as "https://example.com/api/v2/postback". According to previous example logs should be available at "https://example.com/api/v2/postback/". But i am not able to see the logs. So from where i can see the logs for the day?
Thanks.
Can you give us more details like how you set up your postback URL? Which language are you using? How you identified the request as HEAD?
This is my implemented java code.
This code looks fine. How you came to a conclusion that you are getting a HEAD request?
Hi ajinasokan,
I did check in apache tomcat. The same service was hit with a head request.