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/']
It is possible to forward Instamojo's webhooks to your local machine using tools like `localtunnel`. 

* `npm` is required to install localtunnel. [[How to install node and npm]](https://docs.npmjs.com/getting-started/installing-node)
* Install
[localtunnel](https://localtunnel.me/)

Suppose you are running your local server at port 8000, in a new terminal window, execute this:

* `lt --port 8000`

It will show you output like:

* `your url is: https://whawgpctcs.localtunnel.me`

This is a *temporary* webhook URL that will forward every HTTPS request sent to `https://whawgpctcs.localtunnel.me` to your local server running on port `8000`. 

* Paste this temporary url into Instamojo's webhook field and continue testing.
* **Remember to remove the temporary webhook URL from Instamojo once you are done testing**

The temporary webhook URL is valid as long as the `lt --port 8000` command (and your Internet connection) is active.
We can't use localhost or as Webhook URL.If it is used the following error will show "Domain name should not be "localhost" or "127.0.0.1" ". So it must be a live URL.