How to Create a Bitcoin Donation Button in your Website with EaszzzZ ! :)


SUBMITTED BY: Guest

DATE: Nov. 26, 2013, 6:34 a.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 729

  1. How To Create Donation Button
  2. Note :- Website just be java-script enabled !
  3. Insert the following Below code into the head section of the page :-
  4. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  5. <script type="text/javascript" src="https://blockchain.info//Resources/wallet/pay-now-button.js"></script>
  6. Then Insert the following Below html code at the position where you would like the button to appear :-
  7. <div style="font-size:16px;margin:0 auto;width:300px" class="blockchain-btn"
  8. data-address="17xe8MSRGS1Upg94ipNaumMAyJ3JnuwByB"
  9. data-shared="false">
  10. <div class="blockchain stage-begin">
  11. <img src="https://blockchain.info//Resources/buttons/donate_64.png"/>
  12. </div>
  13. <div class="blockchain stage-loading" style="text-align:center">
  14. <img src="https://blockchain.info//Resources/loading-large.gif"/>
  15. </div>
  16. <div class="blockchain stage-ready">
  17. <p align="center">Please Donate To Bitcoin Address: <b>[[address]]</b></p>
  18. <p align="center" class="qr-code"></p>
  19. </div>
  20. <div class="blockchain stage-paid">
  21. Donation of <b>[[value]] BTC</b> Received. Thank You.
  22. </div>
  23. <div class="blockchain stage-error">
  24. <font color="red">[[error]]</font>
  25. </div>
  26. </div>
  27. And there you go ! Your donation button is all set up !
  28. Thanking you !
  29. Bitcoin Address :- 17xe8MSRGS1Upg94ipNaumMAyJ3JnuwByB

comments powered by Disqus