I am Trying to Set debug URL and live URL based on flag for service call
to authorize.net like below..if (isDebug) { API_URL =
"https://apitest.authorize.net/soap/v1/Service.asmx"; } else { API_URL =
"https://api.authorize.net/soap/v1/Service.asmx"; ...