我正在使用Apple with Java以这种方式验证应用内购买
public static void validateProductPurhcaseReceipt(String receiptData, String VERIFICATION_URL)
{
Map outPut = new HashMap();
HttpClient httpClient = new DefaultHttpClient();
try {
HttpPost request = new HttpPost(VERIFICATION_URL);
JSONObject requestData = new JSONObject();
requestData.put("receipt-data", receiptData);
requestData.put("password", "f1ebdc2f49664d7188b4d83f90131ecf");
StringEntity requestEntity = new StringEntity(requestData.toString());
request.addHeader("content-type", "application/x-www-form-urlencoded");
request.setEntity(requestEntity);
HttpResponse response = httpClient.execute(request);
String responseBody = EntityUtils.toString(response.getEntity());
JSONObject responseJSON = new JSONObject(responseBody);
System.out.println(responseJSON);
}
catch (Exception ex) {
ex.printStackTrace();
}
finally {
httpClient.getConnectionManager().shutdown();
}
}
我使用的URL用于验证收据是
Development mode = https://sandbox.itunes.apple.com/verifyReceipt
Production mode = https://buy.itunes.apple.com/verifyReceipt
请告诉我取消应用内购买的URL是什么