PHP file not receiving postbacks

VipulK
Hi. I've setup my postback url (currently: https://glowingstonewebsites.com/zerodha/orders) and I placed some orders through the API but I didn't receive any postbacks about the order updates. Here's the code in my PHP file:
<?php
$json = file_get_contents('php://input');
writeToLog("JSON: ".$json);
I've tested the URL through Postman and its working perfectly when I sent a sample payload. You can try sending one too, you should get an array back. How do I debug this? There seems to be no logs in the Kite Connect.
Tagged:
  • sujith
    It seems like path /orders doesn't exist, I got 404 while trying to access however /zerodha exists. You can re-check by just opening it on the browser.
  • VipulK
    Ahh. What a stupid mistake. Its supposed to be order. I wrote it correctly in Postman.

    Thanks dude.
This discussion has been closed.