1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Payment Confirmation Page</title> 6 7 <style> 8 body { 9 background: -webkit-gradient(linear, left top, left bottom, 10 from(#EBEBEB), to(#CFCFCF)); 11 font-family: 'Lucida Grande', Helvetica, sans-serif; 12 font-size: 10px; 13 height: 300px; 14 overflow: hidden; 15 } 16 </style> 17 18 <script src="connection_manager.js"></script> 19 <script> 20 function $(id) { 21 return document.getElementById(id); 22 } 23 24 chromeos.connectionManager.getDeviceInfo(function(device) { 25 $('device-info').innerHTML = 26 'carrier = ' + device.carrier + '<br>' + 27 'MEID = ' + device.MEID + '<br>' + 28 'IMEI = ' + device.IMEI + '<br>' + 29 'IMSI = ' + device.IMSI + '<br>' + 30 'ESN = ' + device.ESN + '<br>' + 31 'MDN = ' + device.MDN; 32 }); 33 34 function sendStatus(status) { 35 chromeos.connectionManager.setTransactionStatus(status, 36 function() {}); 37 } 38 39 </script> 40 41 </head> 42 <body> 43 <h2>Plan Confirmation Page<h2> 44 Thank you. Your payment was received. 45 <script> 46 sendStatus('OK') 47 </script> 48 </body> 49 </html> 50