1<!DOCTYPE HTML>
2<html>
3<head>
4<meta charset="utf-8">
5<title>Payment Failed Page</title>
6
7<style>
8body {
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>
20function $(id) {
21  return document.getElementById(id);
22}
23
24chromeos.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
34function sendStatus(status) {
35  chromeos.connectionManager.setTransactionStatus(status,
36      function() {});
37}
38
39</script>
40
41</head>
42<body>
43<h2>Payment Failed Page<h2>
44Your payment was not received.
45
46<script>
47// The carrier should invoke this to inform Chrome OS that the payment
48// failed.  In practice the carrier does not, so the sendStatus function
49// call is commented out.  It is left as a reminder of what should happen.
50// sendStatus('FAILED')
51</script>
52</body>
53</html>
54