paymentWidgetHtml property

String get paymentWidgetHtml

Implementation

static String get paymentWidgetHtml => '''
  <html lang="ko">

  <head>
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title></title>
      <script src="https://js.tosspayments.com/${phase.toString()}/payment-widget"></script>
  </head>

  <body style="margin:0;padding:0">
  <div id="payment-method"></div>
  <div id="agreement"></div>
  </body>
  </html>
''';