Bitcoin Forum
November 16, 2024, 12:34:07 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 [2]  All
  Print  
Author Topic: Best way to Accept BTC via Wordpress Store?  (Read 7906 times)
edd
Donator
Legendary
*
Offline Offline

Activity: 1414
Merit: 1002



View Profile WWW
April 02, 2012, 02:24:50 AM
 #21

linking the order number with the rest of the order details in another table.

This is the part that's giving me difficulty.

Still around.
svojoe (OP)
Legendary
*
Offline Offline

Activity: 968
Merit: 1000


einc.io


View Profile
April 02, 2012, 02:34:49 PM
 #22

I guess the part that is the biggest hurdle for me, is how difficult the code would be that 1, generates a address to send to the customer, and two checks back every 5-10 minutes until it sees that address contain a balance that matches the request.  Then upon 'seeing' the balance validate with say (5 checks) it notifies me via email?  Or a dashboard screen?

Gah I haven't had any coffee yet!





linking the order number with the rest of the order details in another table.

This is the part that's giving me difficulty.

edd
Donator
Legendary
*
Offline Offline

Activity: 1414
Merit: 1002



View Profile WWW
April 02, 2012, 02:40:07 PM
 #23

I guess the part that is the biggest hurdle for me, is how difficult the code would be that 1, generates a address to send to the customer, and two checks back every 5-10 minutes until it sees that address contain a balance that matches the request.  Then upon 'seeing' the balance validate with say (5 checks) it notifies me via email?  Or a dashboard screen?

I believe those details can be handled by another party like bitcoinnotify.

If I know what address has been associated with an order, I don't mind generating the addresses and checking blockexplorer.

Still around.
svojoe (OP)
Legendary
*
Offline Offline

Activity: 968
Merit: 1000


einc.io


View Profile
April 02, 2012, 04:52:06 PM
 #24

What about an address for every second, or minute that rotates?  Or a preset number of address that flag and unflag after use so they don't get used twice?


I guess the part that is the biggest hurdle for me, is how difficult the code would be that 1, generates a address to send to the customer, and two checks back every 5-10 minutes until it sees that address contain a balance that matches the request.  Then upon 'seeing' the balance validate with say (5 checks) it notifies me via email?  Or a dashboard screen?

I believe those details can be handled by another party like bitcoinnotify.

If I know what address has been associated with an order, I don't mind generating the addresses and checking blockexplorer.

Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
April 06, 2012, 01:56:01 PM
 #25

How come no one notified me of the lack of a wordpress shopping cart plugin? Huh
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
April 06, 2012, 02:40:56 PM
 #26

No, the tricky part is associating the right bitcoin address with the right order in a human readable and manageable interface. So far I haven't found a plugin that does it even though it seems simple enough on the surface:

  • Customer A places an order.
  • Plugin pulls unique BTC address from database and presents it upon checkout.
  • Customer A sends bitcoins.
  • Plugin enters that address into a field along with name, email, shipping address, etc.
  • You watch the blockchain or your wallet for the payment and send the goods once payment has been received.

Wow, this turned out to be way beyond me. Is it really that difficult to pull a bitcoin address from a database and associate it with a specific order?

Its actually really easy to do my 214 lines of PHP code will generate addresses with the associating user id into the database with one function call.
https://github.com/Xenland/BitcoinRetail-Lite

The only thing you have to do is make a cronjob(example included) to update the BTC address, which only requires one simple to use function call.
I'm leaving you a message on skype let me know if you need help integrating or would like to chat about all the possible options.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!