You have chosen to sponsor your bid up to a maximum amount of .
I am making a bitcoin shopping website in PHP. I will take care of most of the programming. All I need help with is accepting bitcoin deposits and withdrawals (as I don't fully understand how to integrate a bitcoin payment system). Here are some points that I need help creating.
Each user should be given a generated unique bitcoin address for their account.
Something like: $newAddress = generateNewAddress();
Users should be able to deposit bitcoin to that address, and then the website
should be able to confirm that [x] amount of bitcoins were sent and are now safe at the server.
Something like: $amount = getBitcoinsByAddress([address]);
When a user wants to withdraw bitcoin from their account, the website need to have a function to send bitcoin to any bitcoin address.
Something like: $sendBitcoin = sendBitcoins([address], [amount]);
Users should be able to check their balance in their account. I can handle this with my own programming. What I really need is something like a getBitcoinsByAddress([address]) as described in “Deposit”.
I need someone explain to me the best way to go about doing this, and send me some code to make this easy for me that is consistent with the description I have listed above.
To be more clear, I want this completely made from raw PHP. I don’t want a shopping cart software like osCommerce, or a bitcoin payment processing third-party service like Bit-Pay.