This is an example of embedding an Amount Flow into a website.
Scenario: you're a not-for-profit charity and wish to accept donations via your website.
Warning: htmlspecialchars(): charset `0' not supported, assuming utf-8 in /var/www/html/examples/amount.php on line 54
<div id="tascuro_iframe"></div>
<script type="text/javascript" src="https://api.tascuro.com/js/embed.js"></script>
<script type="text/javascript">
var tascuro_iframe = new Tascuro("tascuro_iframe", {
apiKey: "key_test_a5092d2e450d4d02932a"
amount:"0"
});
</script>
If you want do you wish to allow visitors to specify the amount. You can also require a fixed amount.
Warning: htmlspecialchars(): charset `0' not supported, assuming utf-8 in /var/www/html/examples/amount.php on line 89
<div id="tascuro_iframe1"></div>
<script type="text/javascript" src="https://api.tascuro.com/js/embed.js"></script>
<script type="text/javascript">
var tascuro_iframe1 = new Tascuro("tascuro_iframe1", {
apiKey: "key_test_a5092d2e450d4d02932a"
amount:"2499"
});
</script>