Payments

var respMsg = function(e) { var respData = eval("(" + e.data + ")"); document.getElementById("monerisResponse").innerHTML = e.origin + " SENT " + " - " + respData.responseCode + "-" + respData.dataKey + "-" + respData.errorMessage; document.getElementById("monerisFrame").style.display = 'none'; // your token will be in the filed: respData.dataKey // from this point in the Javascript you can have more code that posts the token to another page that will actually process the payment. }