Bitcoin Forum
December 04, 2016, 04:21:09 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Best way to Accept BTC via Wordpress Store?  (Read 7468 times)
rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile
April 02, 2012, 02:16:53 AM
 #21

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?

Why shouldn't the software be as simple as a red light / green light indicator telling you whether funds have been received and confirmed (so you don't have to do all kinds of manual transaction checking)

You should be able to populate a database with a list of addresses, and then once one is used, mark it with a unique order number. Then you can do some fancy SQL magic to refer to it in the future, linking the order number with the rest of the order details in another table. Hmm, I am not a software designer, but this seems like a way it could be done.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
1480868469
Hero Member
*
Offline Offline

Posts: 1480868469

View Profile Personal Message (Offline)

Ignore
1480868469
Reply with quote  #2

1480868469
Report to moderator
1480868469
Hero Member
*
Offline Offline

Posts: 1480868469

View Profile Personal Message (Offline)

Ignore
1480868469
Reply with quote  #2

1480868469
Report to moderator
1480868469
Hero Member
*
Offline Offline

Posts: 1480868469

View Profile Personal Message (Offline)

Ignore
1480868469
Reply with quote  #2

1480868469
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480868469
Hero Member
*
Offline Offline

Posts: 1480868469

View Profile Personal Message (Offline)

Ignore
1480868469
Reply with quote  #2

1480868469
Report to moderator
edd
Donator
Legendary
*
Offline Offline

Activity: 1372



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

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
Hero Member
*****
Offline Offline

Activity: 519


View Profile
April 02, 2012, 02:34:49 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?

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: 1372



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

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
Hero Member
*****
Offline Offline

Activity: 519


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

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


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


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

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

Activity: 980


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


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

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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!