Implement website payment solution



I want to implement a bitcoin paying system to my website. I came up with this but I am unable to understand how it's working.

I looked up into the sourcecode but I don't get where I can get the bitcoins after the user has paid. The term WIF is used a lot; what is that?

Is there any simpler solution? I don't want to use a third-party service


Posted 2012-08-12T15:05:14.570

Reputation: 239



If you want to create your own implementation using the Bitcoin Client, you ought to look into Accounts. This concept would allow you to have complete control over your users' payments, but it would also mean that you have to implement your own solution that would be communicating with Bitcoind.

There is also a more complete solution from StrongCoin in PHP, but I have no experience with it.


Posted 2012-08-12T15:05:14.570

Reputation: 42 235


The MultiBit Merchant project provides a demonstration of how to use the BitCoinJ library to accept payments using Java. At the time of writing, the source code can be found here:

If you want more detail about how to get started let me know.

Gary Rowe

Posted 2012-08-12T15:05:14.570

Reputation: 7 383


WIF stands for Wallet Import Format, which is a string of text that can be converted to a private key. More info here too.

You should be able to import the private key into your Bitcoin client, though I'm not 100% sure whether it accepts WIF format.

Highly Irregular

Posted 2012-08-12T15:05:14.570

Reputation: 10 692