BitWillet: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
No edit summary
Wolever (talk | contribs)
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
An easy shopping cart interface allowing a site to easily accept bitcoins as payment.
An easy shopping cart interface allowing a site to easily accept Bitcoins as payment.  


==+ How It Works ==+
The service was launched on June 28, 2011<ref>[http://twitter.com/#!/BarbaraEMac/statuses/85754176562401280 Ok! The time is now! Announcing BitWillet]</ref>, and closed for new signups on June 2, 2012<ref>[http://www.bitwillet.com/ http://www.bitwillet.com]</ref>.
*A buyer clicks your 'Buy with BTC' button / link.
*After they have selected to purchase your offer, they will be prompted to enter their Bitcoin client and transfer the BTC.
*Once we have received enough confirmations, we will POST the purchase information to a URL your specify.
*Upon receiving a POST notification, you will simply verify the message came from BitWillet and redirect the user to the URL for the digital goods you are selling.
*Optionally, you can record the purchase information for future reference!


The service is built on Willet which can also be used to accept credit card payments.
=== 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 purchase information to a specified URL.
* The URL can redirect the customer to the digital goods, record purchase information, etc.


The service was launched on June 28, 2011<ref>[http://twitter.com/#!/BarbaraEMac/statuses/85754176562401280 Ok! The time is now! Announcing BitWillet]</ref>.
=== Integration Details ===
 
==== 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="#">
          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==
==See Also==
Line 19: Line 30:


* [http://www.bitwillet.com BitWillet] web site
* [http://www.bitwillet.com BitWillet] web site
* [http://dev.getwillet.com Willet] web site
* [http://news.ycombinator.com/item?id=2706170 Hacker News Announcement] web site
* [http://news.ycombinator.com/item?id=2706170 Hacker News Announcement] web site
* [http://www.reddit.com/r/Bitcoin/comments/ibfxf/my_weekend_project_accept_bitcoin_on_your_website/ Reddit Announcement] web site
* [http://www.reddit.com/r/Bitcoin/comments/ibfxf/my_weekend_project_accept_bitcoin_on_your_website/ Reddit Announcement] web site

Latest revision as of 20:15, 2 June 2012

An easy shopping cart interface allowing a site to easily accept Bitcoins as payment.

The service was launched on June 28, 2011[1], and closed for new signups on June 2, 2012[2].

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 purchase information to a specified URL.
  • The URL can redirect the customer to the digital goods, record purchase information, etc.

Integration Details

Client-Side

   <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

References