BitWillet: Difference between revisions
Jump to navigation
Jump to search
BarbaraEMac (talk | contribs) No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
=== How It Works === | === How It Works === | ||
*A | * A customer clicks a 'Buy with BTC' button / link. | ||
* | * BitWillet provides a unique Bitcoin address. | ||
*Once | * Once payment to that address is confirmed, BitWillet POSTs the purcahse information to a specified URL. | ||
* | * The URL can redirect the customer to the digital goods, record purchase information, etc. | ||
=== Integration Details === | === Integration Details === | ||
==== Client-Side ==== | ==== Client-Side ==== | ||
* | * The BitWillet JavaScript is loaded by adding <code><script src="http://www.bitwillet.com/plugin/bitwillet.js" type="text/javascript"></script></code>. | ||
* | * A button or link which initiates the BitWillet offer is added: | ||
<a onClick="bitwillet( 'OFFER_ID' );" href="#"> | |||
<a onClick="bitwillet( 'OFFER_ID' );" href="#"> | |||
</a> | Purchase "OFFER_TITLE" with Bitcoins! | ||
<noscript> Please enable Javascript to access "OFFER_TITLE". </noscript> | </a> | ||
<noscript> Please enable Javascript to access "OFFER_TITLE". </noscript> | |||
==== Seller-Side ==== | ==== Seller-Side ==== | ||
* | * A URL handler is created which will accept BitWillet's purchase confirmation POST. | ||
==See Also== | ==See Also== |
Revision as of 21:46, 28 June 2011
An easy shopping cart interface allowing a site to easily accept Bitcoins as payment.
The service is built on Willet which can also be used to accept credit card payments.
The service was launched on June 28, 2011[1].
How It Works
- A customer clicks a 'Buy with BTC' button / link.
- BitWillet provides a unique Bitcoin address.
- Once payment to that address is confirmed, BitWillet POSTs the purcahse information to a specified URL.
- The URL can redirect the customer to the digital goods, record purchase information, etc.
Integration Details
Client-Side
- The BitWillet JavaScript is loaded by adding
<script src="http://www.bitwillet.com/plugin/bitwillet.js" type="text/javascript"></script>
. - A button or link which initiates the BitWillet offer is added:
<a onClick="bitwillet( 'OFFER_ID' );" href="#"> Purchase "OFFER_TITLE" with Bitcoins! </a> <noscript> Please enable Javascript to access "OFFER_TITLE". </noscript>
Seller-Side
- A URL handler is created which will accept BitWillet's purchase confirmation POST.
See Also
External Links
- Hacker News Announcement web site
- Reddit Announcement web site