paywall.en.must.j2 (23895B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <title>Payment Required</title> 5 <meta http-equiv="content-type" content="text/html;CHARSET=utf-8" /> 6 <meta charset="UTF-8" /> 7 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 8 <meta name="taler-support" content="uri" /> 9 <script> 10 const QR_WIDTH = 300; 11 const QR_HEIGHT = 300; 12 const I18N_PAYMENT_CONFIRMED_LOADING = 'Payment confirmed! Loading page...'; 13 const I18N_PAYMENT_CONFIRMED_PROBLEM = 'Payment confirmed, but access could not be granted. Please contact the operator.'; 14 const I18N_PAYMENT_CONFIRMED_RETRYING = 'Payment confirmed. Retrying access…'; 15 const I18N_REDEMPTION_TIMEOUT = 'Payment confirmed. We couldn’t unlock this page yet. Try again using your existing payment.'; 16 const I18N_PAYMENT_CONFIRMED_NO_ORDER = 'Unexpected 200 OK response without an order_id. Trying again.'; 17 const I18N_OFFER_EXPIRED = 'This offer has expired.'; 18 const I18N_PENDING_ORDER = 'Check your wallet before starting another payment.'; 19 const I18N_ACCESS_UNAVAILABLE = 'Access is unavailable with this offer.'; 20 const I18N_PAYMENT_STATUS_ERROR = 'Could not check payment status. Retrying...'; 21 // The _js values arrive as complete JavaScript string literals, 22 // quotes included, so they are interpolated unescaped: mustache's 23 // HTML escaping is the wrong escaping inside a <script> element 24 // and does not cover the apostrophe. See js_string_literal(). 25 const MERCHANT_BACKEND = {{{ merchant_backend_js }}}; 26 const MERCHANT_TEMPLATE_ID = {{{ template_id_js }}}; 27 const MAX_PICKUP_DELAY = {{ max_pickup_delay }}; // in seconds 28 // TODO: these are not used YET, but we might want to use them in the future: 29 // const TEMPLATE_SUMMARY = '{{ summary }}'; 30 // const TEMPLATE_CHOICES = '{{{ choices }}}'; 31 const POLL_WAIT_MS = 30000; 32 const REDEMPTION_RETRY_MS = 300000; 33 </script> 34 <script> 35 @< include 'paywall.js' >@ 36 </script> 37 <style> 38 *, 39 *::before, 40 *::after { 41 box-sizing: border-box; 42 margin: 0; 43 padding: 0; 44 } 45 46 :root { 47 --bg: rgb(226, 232, 240); 48 --surface: white; 49 --border: rgba(255, 255, 255, 0.07); 50 --border-md: rgba(255, 255, 255, 0.13); 51 --text: black; 52 --muted: #7a7d8a; 53 --primary: #0042b3; 54 --primary-container: #d3deff; 55 --on-primary-container: #00134a; 56 --on-primary: #ffffff; 57 --primary-dim: #7a7d8a; 58 --radius-lg: 18px; 59 --radius-md: 10px; 60 --radius-sm: 7px; 61 } 62 63 body { 64 font-family: sans-serif; 65 background: var(--bg); 66 color: var(--text); 67 min-height: 100vh; 68 display: flex; 69 align-items: center; 70 flex-direction: column; 71 } 72 73 .card { 74 position: relative; 75 z-index: 1; 76 background: var(--surface); 77 border: 1px solid var(--border-md); 78 border-radius: var(--radius-lg); 79 padding: 1rem; 80 display: flex; 81 flex-direction: column; 82 align-items: center; 83 gap: 1rem; 84 box-shadow: 85 0 0 0 1px rgba(0, 0, 0, 0.4), 86 0 32px 80px rgba(0, 0, 0, 0.5); 87 } 88 .card-container { 89 padding: 10px; 90 width: 100%; 91 max-width: 400px; 92 margin: auto; 93 margin-top: 0px; 94 } 95 96 /* compact header row */ 97 .header { 98 display: flex; 99 align-items: center; 100 gap: 10px; 101 width: 100%; 102 } 103 .lock-icon { 104 width: 28px; 105 height: 28px; 106 flex-shrink: 0; 107 opacity: 0.9; 108 } 109 .header-text h1 { 110 font-size: 15px; 111 font-weight: 500; 112 color: var(--text); 113 line-height: 1.2; 114 } 115 .header-text p { 116 font-size: 12px; 117 color: var(--muted); 118 margin-top: 2px; 119 } 120 121 /* QR section */ 122 .qr-wrap { 123 display: flex; 124 flex-direction: column; 125 align-items: center; 126 gap: 10px; 127 } 128 .qr-frame { 129 display: flex; 130 align-items: center; 131 justify-content: center; 132 } 133 .qr-frame svg { 134 display: block; 135 } 136 .qr-taler-logo { 137 position: absolute; 138 top: 50%; 139 left: 50%; 140 transform: translate(-50%, -50%); 141 align-content: center; 142 display: flex; 143 background-color: transparent; 144 } 145 .qr-taler-frame { 146 max-width: 400px; 147 margin: auto; 148 padding: 10px; 149 border-radius: 20px; 150 background: conic-gradient( 151 from var(--angle), 152 #0042b3 0deg, 153 #f1f1f4 20deg, 154 #f1f1f4 150deg, 155 #f1f1f4 160deg, 156 #0042b3 180deg, 157 #f1f1f4 200deg, 158 #f1f1f4 330deg, 159 #f1f1f4 340deg, 160 #0042b3 161 ) 162 padding-box; 163 animation: 10s linear 0s infinite normal none running rotate; 164 position: relative; 165 } 166 .qr-label { 167 font-size: 11px; 168 color: var(--muted); 169 letter-spacing: 0.06em; 170 } 171 .qr-legend { 172 text-align: center; 173 } 174 175 /* amount badge */ 176 .amount-badge { 177 background: rgba(200, 241, 53, 0.08); 178 border: 1px solid rgba(200, 241, 53, 0.2); 179 border-radius: 99px; 180 padding: 5px 14px; 181 font-size: 13px; 182 font-weight: 500; 183 color: var(--primary); 184 letter-spacing: 0.04em; 185 } 186 .merchant-host { 187 font-size: small; 188 color: gray; 189 } 190 .template-summary { 191 text-align: center; 192 } 193 .pay-choices { 194 cursor: pointer; 195 } 196 .upside-down { 197 rotate: 180deg; 198 } 199 .hidden { 200 display: none; 201 } 202 203 /* steps */ 204 .steps { 205 width: 100%; 206 display: flex; 207 flex-direction: column; 208 gap: 8px; 209 } 210 .step { 211 display: flex; 212 align-items: flex-start; 213 gap: 11px; 214 color: var(--on-primary-container); 215 background: var(--primary-container); 216 border: 1px solid var(--border); 217 border-radius: var(--radius-md); 218 padding: 11px 13px; 219 transition: border-color 0.2s; 220 } 221 a.step { 222 border: 1px solid var(--primary); 223 } 224 .step:hover { 225 border-color: var(--border-md); 226 } 227 .step-num { 228 width: 20px; 229 height: 20px; 230 border-radius: 50%; 231 background: var(--primary-container); 232 border: 1px solid var(--primary); 233 color: var(--primary); 234 font-size: 11px; 235 font-weight: 500; 236 display: flex; 237 align-items: center; 238 justify-content: center; 239 flex-shrink: 0; 240 margin-top: 1px; 241 } 242 .step-body { 243 } 244 .step-title { 245 font-size: 18px; 246 font-weight: 500; 247 color: var(--text); 248 margin-bottom: 2px; 249 display: flex; 250 justify-content: space-between; 251 } 252 .step-desc { 253 font-size: 12px; 254 color: var(--muted); 255 line-height: 1.55; 256 } 257 258 /* cta button */ 259 .cta { 260 padding-top: 13px; 261 padding-bottom: 13px; 262 padding-left: 26px; 263 padding-right: 26px; 264 border-radius: var(--radius-md); 265 background: var(--primary); 266 color: var(--on-primary); 267 border: none; 268 font-size: 20px; 269 font-weight: 500; 270 cursor: pointer; 271 letter-spacing: 0.01em; 272 } 273 .cta:hover { 274 background: var(--primary-dim); 275 } 276 .cta:active { 277 transform: scale(0.98); 278 } 279 .button-cta { 280 display: flex; 281 margin: auto; 282 } 283 284 /* footer note */ 285 .footer-note { 286 font-size: 11px; 287 color: var(--muted); 288 text-align: center; 289 line-height: 1.6; 290 } 291 .footer-note a { 292 color: var(--muted); 293 text-decoration: underline; 294 text-underline-offset: 2px; 295 } 296 .header { 297 width: 100%; 298 padding: 8px; 299 margin-bottom: 10px; 300 display: flex; 301 background-color: white; 302 border: 1px black solid; 303 } 304 .footer { 305 position: sticky; 306 bottom: 0; 307 width: 100%; 308 padding: 8px; 309 display: flex; 310 justify-content: center; 311 background-color: white; 312 border: 1px black solid; 313 z-index: 2; 314 flex-direction: column; 315 } 316 .footer p { 317 text-align: center; 318 line-height: 1.5; 319 text-wrap-mode: wrap; 320 } 321 svg.lock-icon { 322 fill: var(--primary-container); 323 stroke: var(--primary); 324 } 325 @property --angle { 326 syntax: "<angle>"; 327 initial-value: 0deg; 328 inherits: false; 329 } 330 331 @keyframes rotate { 332 to { 333 --angle: 360deg; 334 } 335 } 336 </style> 337 @# 338 qrcode-generator.js is the unmodified dist/qrcode.js from 339 qrcode-generator 2.0.4 by Kazuhiko Arase (MIT licence). 340 341 https://registry.npmjs.org/qrcode-generator/-/qrcode-generator-2.0.4.tgz 342 npm integrity: sha512-mZSiP6RnbHl4xL2Ap5HfkjLnmxfKcPWpWe/c+5XxCuetEenqmNFf1FH/ftXPCtFG5/TDobjsjz6sSNL0Sr8Z9g== 343 dist/qrcode.js: sha512-K0lYrsz0aEkpUuvFglUXQTLSzK5OOT4HMO5FAIyGK/EHIuMoGSDd7NYrLrAnp/IirYF5LTnR2RLI0IpXLCERTQ== 344 345 On update, check for Jinja delimiters and Mustache tags in the script. 346 #@ <script> 347 @< include 'qrcode-generator.js' >@ 348 </script> 349 </head> 350 <body> 351 <div class="header"> 352 <svg 353 class="lock-icon" 354 viewBox="0 0 28 28" 355 fill="none" 356 xmlns="http://www.w3.org/2000/svg" 357 > 358 <rect x="5" y="12" width="18" height="13" rx="3" stroke-width="1" /> 359 <path 360 d="M9.5 12V9a4.5 4.5 0 0 1 9 0v3" 361 stroke-width="1.5" 362 stroke-linecap="round" 363 fill="none" 364 /> 365 <circle cx="14" cy="18" r="2" /> 366 <line 367 x1="14" 368 y1="20" 369 x2="14" 370 y2="22" 371 stroke-width="1.5" 372 stroke-linecap="round" 373 /> 374 </svg> 375 <div class="header-text"> 376 <h1>Paivana paywall</h1> 377 <p>The resource requires a payment to access.</p> 378 </div> 379 </div> 380 381 <div class="card-container"> 382 <div class="card"> 383 <!-- QR code + amount --> 384 <div class="qr-wrap"> 385 {{#summary}} 386 <p class="template-summary">{{ summary }}</p> 387 {{/summary}} 388 <p class="merchant-host">{{ merchant_backend }}</p> 389 390 <p id="offer-deadline" hidden>Offer expires <time></time></p> 391 <div class="qr-taler-frame"> 392 <div style="padding: 10px; border-radius: 20px; background-color: white"> 393 <div class="qr-frame" id="qrcode" style="margin: 5px" > 394 </div> 395 </div> 396 <div class="qr-taler-logo"> 397 <!-- Taler Logo --> 398 <div style="width: 100px; height: 50px" > 399 <svg xmlns="http://www.w3.org/2000/svg" id="screenshot-b8718ead-4592-805f-8007-a9ef55f0a41b" viewBox="0 0 200 95" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1"><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a41b"><g class="frame-container-wrapper"><g class="frame-container-blur"><g class="frame-container-shadows"><g fill="none"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a41b"><rect width="200" height="95" class="frame-background" x="0" transform="matrix(1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)" style="fill: rgb(255, 255, 255); fill-opacity: 1;" ry="47.5" rx="47.5" y="0"/></g><g class="frame-children"><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a41c" width="670" height="300" rx="0" ry="0" style="fill: rgb(0, 0, 0);"><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a41d" style="display: none;"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a41d"><rect width="180" height="80.76923076923094" x="10" transform="matrix(1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)" style="fill: none;" ry="0" fill="none" rx="0" y="7.115384615384301"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a41e" rx="0" ry="0" style="fill: rgb(0, 0, 0);"><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a424"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a424"><path d="M87.60791015625,8.12158203125C101.56881713867188,8.12158203125,113.69378662109375,16.55859375,119.81179809570312,28.943603515625L114.60223388671875,28.943603515625C108.9432373046875,19.34130859375,98.96926879882812,12.96484375,87.60791015625,12.96484375C69.97454833984375,12.96484375,55.679962158203125,28.32177734375,55.679962158203125,47.265380859375C55.679962158203125,56.53759765625,59.105865478515625,64.94921875,64.67062377929688,71.121826171875C63.468505859375,72.1279296875,62.188629150390625,73.031494140625,60.841827392578125,73.8203125C54.84014892578125,66.8427734375,51.1715087890625,57.515380859375,51.1715087890625,47.265380859375C51.1715087890625,25.64697265625,67.48464965820312,8.12158203125,87.60791015625,8.12158203125ZM119.71417236328125,65.7861328125C113.56512451171875,78.06298828125,101.49423217773438,86.409423828125,87.60791015625,86.409423828125C86.66519165039062,86.409423828125,85.73080444335938,86.370849609375,84.80609130859375,86.29541015625C87.53939819335938,84.894287109375,90.10183715820312,83.171875,92.45233154296875,81.17333984375C101.69497680664062,79.661865234375,109.63381958007812,73.891845703125,114.48382568359375,65.7861328125Z" style="fill-rule: evenodd; stroke: none; stroke-width: 0.327943; fill: rgb(0, 66, 179); fill-opacity: 1;"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a425"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a425"><path d="M67.50363159179688,8.12158203125C68.44625854492188,8.12158203125,69.380615234375,8.16015625,70.305419921875,8.235595703125C67.57211303710938,9.63671875,65.00958251953125,11.35888671875,62.659088134765625,13.357666015625C47.324951171875,15.865234375,35.575653076171875,30.091064453125,35.575653076171875,47.265380859375C35.575653076171875,60.06689453125,42.10455322265625,71.228759765625,51.77911376953125,77.1220703125C50.351959228515625,77.362060546875,48.8892822265625,77.4873046875,47.399322509765625,77.4873046875C46.289306640625,77.4873046875,45.19500732421875,77.416015625,44.118560791015625,77.281494140625C36.14129638671875,70.10107421875,31.067230224609375,59.32080078125,31.067230224609375,47.265380859375C31.067230224609375,25.64697265625,47.38037109375,8.12158203125,67.50363159179688,8.12158203125ZM72.34814453125,81.17333984375C81.5909423828125,79.661865234375,89.52969360351562,73.8916015625,94.3797607421875,65.78564453125L99.61007690429688,65.78564453125C93.46109008789062,78.062744140625,81.39016723632812,86.409423828125,67.50363159179688,86.409423828125C66.56088256835938,86.409423828125,65.62661743164062,86.370849609375,64.70181274414062,86.29541015625C67.4349365234375,84.89404296875,69.99777221679688,83.172119140625,72.34814453125,81.17333984375ZM94.497802734375,28.943603515625C91.6864013671875,24.174072265625,87.81045532226562,20.2001953125,83.22808837890625,17.40869140625C84.65524291992188,17.1689453125,86.11785888671875,17.04345703125,87.60791015625,17.04345703125C88.71786499023438,17.04345703125,89.81222534179688,17.114990234375,90.888671875,17.249267578125C94.485107421875,20.486572265625,97.49151611328125,24.455810546875,99.70870971679688,28.943603515625Z" style="fill-rule: evenodd; stroke: none; stroke-width: 0.327943; fill: rgb(0, 66, 179); fill-opacity: 1;"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a426"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a426"><path d="M47.399322509765625,8.12158203125C48.352447509765625,8.12158203125,49.296783447265625,8.161376953125,50.23150634765625,8.238525390625C47.5032958984375,9.637451171875,44.945098876953125,11.356689453125,42.59844970703125,13.35107421875C27.242950439453125,15.839111328125,15.47137451171875,30.074951171875,15.47137451171875,47.265380859375C15.47137451171875,66.208984375,29.766082763671875,81.56591796875,47.399322509765625,81.56591796875C58.68267822265625,81.56591796875,68.59854125976562,75.277587890625,74.27731323242188,65.78564453125L79.50582885742188,65.78564453125C73.35687255859375,78.062744140625,61.285888671875,86.409423828125,47.399322509765625,86.409423828125C27.276123046875,86.409423828125,10.963043212890625,68.884033203125,10.963043212890625,47.265380859375C10.963043212890625,25.64697265625,27.276123046875,8.12158203125,47.399322509765625,8.12158203125ZM74.39288330078125,28.943603515625C73.218017578125,26.950927734375,71.857666015625,25.096435546875,70.337158203125,23.40966796875C71.53936767578125,22.40380859375,72.81900024414062,21.49951171875,74.1656494140625,20.7109375C76.29071044921875,23.181640625,78.12283325195312,25.947021484375,79.60369873046875,28.943603515625Z" style="fill-rule: evenodd; stroke: none; stroke-width: 0.327943; fill: rgb(0, 66, 179); fill-opacity: 1;"/></g></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a41f"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a41f"><path d="M78.18096923828125,37.995361328125L86.3848876953125,37.995361328125L86.3848876953125,33.469482421875L65.39480590820312,33.469482421875L65.39480590820312,37.995361328125L73.59881591796875,37.995361328125L73.59881591796875,61.259765625L78.18096923828125,61.259765625Z"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a420"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a420"><path d="M92.96798706054688,54.550537109375L105.19992065429688,54.550537109375L107.82388305664062,61.259765625L112.62802124023438,61.259765625L101.24588012695312,33.27099609375L97.03329467773438,33.27099609375L85.651123046875,61.259765625L90.30743408203125,61.259765625ZM103.53701782226562,50.222900390625L94.63125610351562,50.222900390625L99.06564331054688,39.10693359375Z"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a421"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a421"><path d="M120.87139892578125,33.469482421875L116.76959228515625,33.469482421875L116.76959228515625,61.259765625L135.17013549804688,61.259765625L135.17013549804688,56.853271484375C130.4039306640625,56.853271484375,125.63763427734375,56.853271484375,120.87139892578125,56.853271484375Z"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a422"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a422"><path d="M159.07958984375,33.469482421875L139.93722534179688,33.469482421875L139.93722534179688,61.259765625L159.264404296875,61.259765625L159.264404296875,56.853271484375L144.445556640625,56.853271484375L144.445556640625,49.428955078125L157.41665649414062,49.428955078125L157.41665649414062,45.0224609375L144.445556640625,45.0224609375L144.445556640625,37.876220703125L159.07958984375,37.876220703125Z"/></g></g><g id="shape-b8718ead-4592-805f-8007-a9ef55f0a423"><g class="fills" id="fills-b8718ead-4592-805f-8007-a9ef55f0a423"><path d="M181.21524047851562,42.541259765625C181.21524047851562,43.976806640625,180.73483276367188,45.121826171875,179.767822265625,45.968505859375C178.80709838867188,46.822265625,177.5074462890625,47.245361328125,175.87518310546875,47.245361328125L169.20486450195312,47.245361328125L169.20486450195312,37.876220703125L175.83828735351562,37.876220703125C177.54434204101562,37.876220703125,178.86849975585938,38.2666015625,179.80490112304688,39.053955078125C180.74722290039062,39.8349609375,181.21524047851562,40.999267578125,181.21524047851562,42.541259765625ZM186.64749145507812,61.259765625L179.6632080078125,50.739013671875C180.5745849609375,50.474365234375,181.40618896484375,50.09765625,182.15771484375,49.607666015625C182.908935546875,49.1181640625,183.55581665039062,48.5224609375,184.09768676757812,47.8212890625C184.63983154296875,47.11962890625,185.06466674804688,46.312744140625,185.37261962890625,45.399658203125C185.68048095703125,44.486572265625,185.83438110351562,43.447509765625,185.83438110351562,42.282958984375C185.83438110351562,40.93310546875,185.61279296875,39.709228515625,185.16928100585938,38.610595703125C184.72586059570312,37.512451171875,184.09158325195312,36.5859375,183.26632690429688,35.83154296875C182.44088745117188,35.077392578125,181.43087768554688,34.4951171875,180.236083984375,34.084716796875C179.04104614257812,33.67431640625,177.70452880859375,33.469482421875,176.22647094726562,33.469482421875L164.696533203125,33.469482421875L164.696533203125,61.259765625L169.20486450195312,61.259765625L169.20486450195312,51.572998046875L174.91445922851562,51.572998046875L181.28903198242188,61.259765625Z"/></g></g></g></g></g></g></g></g></g></svg> 400 </div> 401 </div> 402 </div> 403 404 <p class="qr-legend">Scan the QR with a GNU Taler wallet</p> 405 </div> 406 407 <!-- instructions --> 408 <div class="steps"> 409 <a href="https://www.taler.net/wallet" target="_blank" class="step"> 410 <div class="step-num">1</div> 411 <div class="step-body"> 412 <p class="step-title">Install</p> 413 <p class="step-desc"> 414 If you don't have one yet you can follow the instruction on 415 www.taler.net. 416 </p> 417 </div> 418 </a> 419 {{#has_choices}} 420 <div class="step pay-choices" onclick="toggleDescription(this)"> 421 <div class="step-num">2</div> 422 <div class="step-body "> 423 <p class="step-title"> 424 <span>Pay {{default_choice.amount}} or see options</span> 425 <svg name="toggle-arrow" data-accordion-icon="" class="arrow" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m5 15 7-7 7 7"></path></svg> 426 </p> 427 <p class="step-desc"> 428 Your wallet will display the details of the transaction. 429 <ul class="price-list hidden"> 430 {{#choices}} 431 {{#description}} 432 <li>{{amount}}: {{description}}</li> 433 {{/description}} 434 {{^description}} 435 <li>{{amount}}</li> 436 {{/description}} 437 {{/choices}} 438 </ul> 439 </p> 440 </div> 441 </div> 442 {{/has_choices}} 443 {{^has_choices}} 444 <div class="step"> 445 <div class="step-num">2</div> 446 <div class="step-body"> 447 <p class="step-title">Pay {{default_choice.amount}}</p> 448 <p class="step-desc"> 449 Your wallet will display the details of the transaction. 450 </p> 451 </div> 452 </div> 453 {{/has_choices}} 454 <div class="step"> 455 <div class="step-num">3</div> 456 <div class="step-body"> 457 <p class="step-title">Access</p> 458 <p class="step-desc"> 459 You will be automatically redirected when confirmed. 460 </p> 461 </div> 462 </div> 463 </div> 464 465 <p class="footer-note"> 466 <span id="access-on-payment">Access is granted automatically once the transaction confirms.<br /></span> 467 Need help? <a href="https://www.taler.net/en/">Contact support</a> 468 </p> 469 </div> 470 </div> 471 472 <div class="footer"> 473 <p id="error-message" role="status"></p> 474 <div class="button-cta"> 475 <a target="_blank" id="taler-link" hidden class="cta">Pay now</a> 476 <button id="retry-redemption" type="button" hidden class="cta">Retry access</button> 477 <a id="renew-offer" hidden class="cta">Get a new offer</a> 478 </div> 479 </div> 480 481 <script> 482 main(); 483 </script> 484 </body> 485 </html>