confirm static method

String confirm()

Implementation

static String confirm() {
  var script = "if (window.BootpayConfirm && window.BootpayConfirm.postMessage) { BootpayConfirm.postMessage(JSON.stringify(data)); }";
  return  "if (data.event === 'confirm') { $script }";
}