44<div style="text-align: center;">
55 <?php
66 if ($ block ->getData ('confirm ' )) {
7- ?>
8- <h2><?php echo __ ('Order validated ' ); ?> </h2>
7+ ?>
8+ <h2><?= $ block -> escapeHtml ( __ ('Order validated ' )) ?> </h2>
99
10- <p><?php echo __ ('If the payment has been made, then the order will be validated in a few moments. ' ); ?> </p>
10+ <p>
11+ <?= $ block ->escapeHtml (__ (
12+ 'If the payment has been made, then the order will be validated in a few moments. '
13+ )) ?>
14+ </p>
1115
12- <p><b><?php echo $ block ->getData ('amount ' ); ?> <?php echo $ block ->getData ('currency ' ); ?> </b></p>
13- <p><?php echo $ block ->getData ('reference ' ); ?> </p>
14- <p><?php echo $ block ->getData ('sessionId ' ); ?> </p>
16+ <p>
17+ <b>
18+ <?= $ block ->escapeHtml ($ block ->getData ('amount ' )) ?>
19+ <?= $ block ->escapeHtml ($ block ->getData ('currency ' )) ?>
20+ </b>
21+ </p>
22+ <p><?= $ block ->escapeHtml ($ block ->getData ('reference ' )) ?> </p>
23+ <p><?= $ block ->escapeHtml ($ block ->getData ('sessionId ' )) ?> </p>
1524
16- <a href="<?php echo $ block ->getData ('baseUrl ' ); ?> " class="action primary" style="margin-top: 20px;">
17- <?php echo __ ('Return to the homepage ' ); ?>
25+ <a href="<?= $ block ->escapeUrl ($ block ->getData ('baseUrl ' )) ?> "
26+ class="action primary"
27+ style="margin-top: 20px;">
28+ <?= $ block ->escapeHtml (__ ('Return to the homepage ' )) ?>
1829 </a>
19- <?php
30+ <?php
2031 } else {
21- ?>
22- <h2><?php echo __ ('Scan this QR Code to pay with Fintecture ' ); ?> </h2>
32+ ?>
33+ <h2><?= $ block -> escapeHtml ( __ ('Scan this QR Code to pay with Fintecture ' )) ?> </h2>
2334
24- <img src="<?php echo $ block ->getData ('qrCode ' ); ?> ">
35+ <img src="<?= $ block ->escapeUrl ( $ block -> getData ('qrCode ' )) ?> ">
2536
26- <p><b><?php echo $ block ->getData ('amount ' ); ?> <?php echo $ block ->getData ('currency ' ); ?> </b></p>
27- <p><?php echo $ block ->getData ('reference ' ); ?> </p>
28- <p><?php echo $ block ->getData ('sessionId ' ); ?> </p>
37+ <p>
38+ <b>
39+ <?= $ block ->escapeHtml ($ block ->getData ('amount ' )) ?>
40+ <?= $ block ->escapeHtml ($ block ->getData ('currency ' )) ?>
41+ </b>
42+ </p>
43+ <p><?= $ block ->escapeHtml ($ block ->getData ('reference ' )) ?> </p>
44+ <p><?= $ block ->escapeHtml ($ block ->getData ('sessionId ' )) ?> </p>
2945
30- <a href="<?php echo $ block ->getData ('confirmUrl ' ); ?> " title="<?php echo __ ('Continue ' ); ?> " class="action primary" style="margin-top: 20px;">
31- <?php echo __ ('Continue ' ); ?>
46+ <a href="<?= $ block ->escapeUrl ($ block ->getData ('confirmUrl ' )) ?> "
47+ title="<?= $ block ->escapeHtmlAttr (__ ('Continue ' )) ?> "
48+ class="action primary"
49+ style="margin-top: 20px;">
50+ <?= $ block ->escapeHtml (__ ('Continue ' )) ?>
3251 </a>
33- <?php
52+ <?php
3453 }
3554 ?>
3655
37- <div style="margin-top: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;">
56+ <div style="margin-top: 20px; display: flex; flex-direction: column; align-items: center;
57+ justify-content: center; gap: 8px;">
3858 <span style="text-transform: uppercase; color: #0B1643; font-weight: bold; font-size: 0.8em;">
39- <?php echo __ ('Secured connection to your bank by ' ); ?>
59+ <?= $ block -> escapeHtml ( __ ('Secured connection to your bank by ' )) ?>
4060 </span>
41- <img src="<?php echo $ block ->getViewFileUrl ('Fintecture_Payment::images/fintecture.svg ' ); ?> " alt="Fintecture" style="height: 25px;">
61+ <img src="<?= $ block ->escapeUrl (
62+ $ block ->getViewFileUrl ('Fintecture_Payment::images/fintecture.svg ' )
63+ ) ?> "
64+ alt="Fintecture"
65+ style="height: 25px;">
4266 </div>
4367</div>
0 commit comments