I am implementing instamojo payment method into my website. Can I use a localhost URL as Webhook URL in order to test the process?
['https://Stackoverflow.com/questions/30707256', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4290253/']
I'm from Instamojo.

You can't use a local URL. This is because a webhook request is a POST request that is made from our server. Therefore, the only URLs that we can make these requests to would be URLs that are publicly available.

For testing purposes, I would recommend using [RequestBin](https://requestbin.com/). You can create a new bin and paste the URL for that bin in the webhook URL field of your Instamojo link. This will give you a link that is accessible by our server and you can inspect the POST requests to this link by appending `?inspect` at the end of the URL.
You cannot use the localhost URL as a webhook URL in order to test the process. But you can simply bypass it, open hosts file from `C:\Windows\System32\Drivers\etc\hosts`
At the end of the line write 

```
127.0.0.1      yourname.com

```

And access localhost using yourname.com.
Just change localhost/your-location url with yourname.com/your-location in the PHP file.