Implementácia generovania QR kódu pre jednorázovú platbu.
Používa sa: HTML 5.0 + PHP 7.2.0 • CSS: Bootstrap 4.5.0 • JS: jQuery 3.5.1 • highlight.js 10.3.2
<?php
$vars = [
'handle' => 'DARJ', // Don't change
'amount' => '1.00',
'variable_symbol' => '3000000258',
'constant_symbol' => '0308' // Don't change
];
$URL = 'https://www.cheddarpayments.com/u/bysquare?' . http_build_query($vars, '', '&');
echo '<img src="' . $URL . '" width="320" height="320" />';
?>