I am implementing a square payment form using asp.net MVC. I use the sandbox application id and location id for testing. It working fine when I test on my local machine. But when I host my application on the server.
The application throw error "Error calling Charge: Unable to connect to the remote server". I also tried with production application and location id but still didn't get any luck. Can anyone help me to fix this?