{"id":564,"date":"2020-06-24T11:14:28","date_gmt":"2020-06-24T11:14:28","guid":{"rendered":"http:\/\/sendbitcoin.lol\/?page_id=564"},"modified":"2020-09-06T09:35:48","modified_gmt":"2020-09-06T09:35:48","slug":"donate","status":"publish","type":"page","link":"https:\/\/sendbitcoin.lol\/index.php\/donate\/","title":{"rendered":"Donate"},"content":{"rendered":"<p><script>if(!window.btcpay){    var head = document.getElementsByTagName('head')[0];   var script = document.createElement('script');   script.src='https:\/\/btcpay.sendbitcoin.lol\/modal\/btcpay.js';   script.type = 'text\/javascript';   head.append(script);}function onBTCPayFormSubmit(event){    var xhttp = new XMLHttpRequest();    xhttp.onreadystatechange = function() {        if (this.readyState == 4 && this.status == 200) {            if(this.status == 200 && this.responseText){                var response = JSON.parse(this.responseText);                window.btcpay.showInvoice(response.invoiceId);            }        }    };    xhttp.open(\"POST\", event.target.getAttribute('action'), true);    xhttp.send(new FormData( event.target ));}<\/script><\/p>\n<style type=\"text\/css\"> .btcpay-form { display: inline-flex; align-items: center; justify-content: center; } .btcpay-form--inline { flex-direction: row; } .btcpay-form--block { flex-direction: column; } .btcpay-form--inline .submit { margin-left: 15px; } .btcpay-form--block select { margin-bottom: 10px; } .btcpay-form .btcpay-custom-container{ text-align: center; }.btcpay-custom { display: flex; align-items: center; justify-content: center; } .btcpay-form .plus-minus { cursor:pointer; font-size:25px; line-height: 25px; background: #DFE0E1; height: 30px; width: 45px; border:none; border-radius: 60px; margin: auto 5px; display: inline-flex; justify-content: center; } .btcpay-form select { -moz-appearance: none; -webkit-appearance: none; appearance: none; color: currentColor; background: transparent; border:1px solid transparent; display: block; padding: 1px; margin-left: auto; margin-right: auto; font-size: 11px; cursor: pointer; } .btcpay-form select:hover { border-color: #ccc; } #btcpay-input-price { -moz-appearance: none; -webkit-appearance: none; border: none; box-shadow: none; text-align: center; font-size: 25px; margin: auto; border-radius: 5px; line-height: 35px; background: #fff; } <\/style>\n<style type=\"text\/css\"> input[type=range].btcpay-input-range { -webkit-appearance:none; width:100%; background: transparent; } input[type=range].btcpay-input-range:focus { outline:0; } input[type=range].btcpay-input-range::-webkit-slider-runnable-track { width:100%; height:3.1px; cursor:pointer; box-shadow:0 0 1.7px #020,0 0 0 #003c00; background:#f3f3f3; border-radius:1px; border:0; } input[type=range].btcpay-input-range::-webkit-slider-thumb { box-shadow:none; border:2.5px solid #cedc21; height:22px; width:22px; border-radius:50%; background:#0f3723; cursor:pointer; -webkit-appearance:none; margin-top:-9.45px } input[type=range].btcpay-input-range:focus::-webkit-slider-runnable-track { background:#fff; } input[type=range].btcpay-input-range::-moz-range-track { width:100%; height:3.1px; cursor:pointer; box-shadow:0 0 1.7px #020,0 0 0 #003c00; background:#f3f3f3; border-radius:1px; border:0; } input[type=range].btcpay-input-range::-moz-range-thumb { box-shadow:none; border:2.5px solid #cedc21; height:22px; width:22px; border-radius:50%; background:#0f3723; cursor:pointer; } input[type=range].btcpay-input-range::-ms-track { width:100%; height:3.1px; cursor:pointer; background:0 0; border-color:transparent; color:transparent; } input[type=range].btcpay-input-range::-ms-fill-lower { background:#e6e6e6; border:0; border-radius:2px; box-shadow:0 0 1.7px #020,0 0 0 #003c00; } input[type=range].btcpay-input-range::-ms-fill-upper { background:#f3f3f3; border:0; border-radius:2px; box-shadow:0 0 1.7px #020,0 0 0 #003c00; } input[type=range].btcpay-input-range::-ms-thumb { box-shadow:none; border:2.5px solid #cedc21; height:22px; width:22px; border-radius:50%; background:#0f3723; cursor:pointer; height:3.1px; } input[type=range].btcpay-input-range:focus::-ms-fill-lower { background:#f3f3f3; } input[type=range].btcpay-input-range:focus::-ms-fill-upper { background:#fff; } <\/style>\n<form method=\"POST\"  onsubmit=\"onBTCPayFormSubmit(event);return false\"  action=\"https:\/\/btcpay.sendbitcoin.lol\/api\/v1\/invoices\" class=\"btcpay-form btcpay-form--block\">\n  <input type=\"hidden\" name=\"storeId\" value=\"7EdrH4ZBbdMNZMQey7szwCbcNWnoxHXmCPpW98QtNwQM\" \/><br \/>\n  <input type=\"hidden\" name=\"jsonResponse\" value=\"true\" \/><br \/>\n  <input type=\"hidden\" name=\"notifyEmail\" value=\"sendbitcoin.lol@gmail.com\" \/><\/p>\n<div class=\"btcpay-custom-container\">\n    <input id=\"btcpay-input-price\" name=\"price\" type=\"text\" min=\"0\" max=\"none\" step=\"any\" value=\"5\" style=\"width: 209px;\" oninput=\"event.preventDefault();isNaN(event.target.value) || event.target.value <= 0 ? document.querySelector('#btcpay-input-price').value = 5 : event.target.value\" onchange=\"document.querySelector('#btcpay-input-range').value = document.querySelector('#btcpay-input-price').value\" \/><br \/>\n    <select name=\"currency\"><option value=\"USD\" selected>USD<\/option><option value=\"GBP\">GBP<\/option><option value=\"EUR\">EUR<\/option><option value=\"BTC\">BTC<\/option><\/select><br \/>\n    <input class=\"btcpay-input-range\" id=\"btcpay-input-range\" value=\"5\" type=\"range\" min=\"1\" max=\"100\" step=\"1\" style=\"width:209px;margin-bottom:15px;\" oninput=\"document.querySelector('#btcpay-input-price').value = document.querySelector('#btcpay-input-range').value\" \/>\n  <\/div>\n<p><button type=\"submit\" class=\"submit\" name=\"submit\" style=\"min-width:209px; min-height:57px; border-radius: 4px;border-style: none;background-color: #0f3b21;\" alt=\"Pay with BtcPay, Self-Hosted Bitcoin Payment Processor\"><span style=\"color:#fff\">Donate<\/span><br \/>\n<\/button><\/form>\n","protected":false},"excerpt":{"rendered":"<p>USDGBPEURBTC Donate<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":60,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"_links":{"self":[{"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/pages\/564"}],"collection":[{"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/comments?post=564"}],"version-history":[{"count":30,"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/pages\/564\/revisions"}],"predecessor-version":[{"id":680,"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/pages\/564\/revisions\/680"}],"wp:attachment":[{"href":"https:\/\/sendbitcoin.lol\/index.php\/wp-json\/wp\/v2\/media?parent=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}