loadPaymentScript method

Future<void> loadPaymentScript(
  1. String url
)

Implementation

Future<void> loadPaymentScript(String url) async {
  if (url.startsWith(INAPP_URL)) {
    for (String script in await getBootpayJSBeforeContentLoaded()) {
      widget._controller.runJavaScript(script);
    }

    widget._controller.runJavaScript(getBootpayJS());
  }
}