Hello, I need code written in the Java programming language for the following exercise: Please compile and run the output to show validation of it working (if you could include a sample output screenshot below would be appreciated) ! Thanks in advance for the help, it is much appreciated. Solution public static void processPayment(final String receipt) throws SystemException { final BASE64Encoder encoder = new BASE64Encoder(); final String receiptData = encoder.encode(receipt.getBytes()); final String jsonData = \"{\\\"receipt-data\\\" : \\\"\" + receiptData + \"\\\"}\"; System.out.println(receipt); System.out.println(jsonData); try { final URL url = new URL(_sandboxUriStr); final HttpURLConnection conn = (HttpsURLConnection) url.openConnection(); conn.setRequestMethod(\"POST\"); conn.setDoOutput(true); final OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream()); wr.write(jsonData); wr.flush(); // Get the response final BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; while ((line = rd.readLine()) != null) { System.out.println(line); } wr.close(); rd.close(); } catch (IOException e) { throw new SystemException(\"Error when trying to send request to \'%s\', %s\", _sandboxUriStr, e.getMessage()); } } .