Add a Bitcoin donation button to your website.


SUBMITTED BY: godsend

DATE: Nov. 25, 2020, 3:23 a.m.

UPDATED: Feb. 12, 2021, 4:11 p.m.

FORMAT: Text only

SIZE: 1.0 kB

HITS: 1076

  1. Insert the following code into the head section of your website page
  2. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  3. <script type="text/javascript" src="https://blockchain.info/Resources/js/pay-now-button.js"></script>
  4. Insert the following html code at the position where you would like the button to appear
  5. <div style="font-size:16px;margin:0 auto;width:300px" class="blockchain-btn" data-address="34iWRrjRt1pGaSetGbyjbHoLZ7RbkKiTsa" data-shared="false">
  6. <div class="blockchain stage-begin">
  7. <img src="https://blockchain.info/Resources/buttons/donate_64.png"/>
  8. </div>
  9. <div class="blockchain stage-loading" style="text-align:center">
  10. <img src="https://blockchain.info/Resources/loading-large.gif"/>
  11. </div>
  12. <div class="blockchain stage-ready">
  13. <p align="center">Please Donate To Bitcoin Address: <b>[[address]]</b></p>
  14. <p align="center" class="qr-code"></p>
  15. </div>
  16. <div class="blockchain stage-paid">

comments powered by Disqus