Bitcoin Forum
November 12, 2024, 07:24:59 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to access bitcoin wallet API via web host  (Read 808 times)
lvyuan95 (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 20, 2014, 12:36:27 AM
Last edit: August 24, 2014, 05:05:49 AM by lvyuan95
 #1

Hi guys, I want to build a shop with dogecoin and darkcoin payment, I used oscommerce and the bitcoin module (https://github.com/weex/oscommerce-bitcoin). And I filled my own PC's IP on 'RPC host IP', and I'm pretty sure the conf file was set appropriated. But the thing is, the there is always something wrong on check out page, says 'failed to open stream: Connection refused in balabala'

Help please  Undecided
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
June 20, 2014, 12:43:56 AM
 #2

Sounds like a firewall issue.

But if you just building a shop, why not just have an table in your database, that holds the bitcoin address and only the address. Then you can use a service like mine https://apicoin.io to get the balance of that address, or be notified of when a transaction goes to that address. This is more secure than using a bitcoind, which is way too heavy for this type of action.

https://apicoin.io/api/v1/doc/#callbackscript
https://apicoin.io/api/v1/doc/#addcallbacks
lvyuan95 (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 20, 2014, 12:51:57 AM
 #3

Sounds like a firewall issue.

But if you just building a shop, why not just have an table in your database, that holds the bitcoin address and only the address. Then you can use a service like mine https://apicoin.io to get the balance of that address, or be notified of when a transaction goes to that address. This is more secure than using a bitcoind, which is way too heavy for this type of action.

https://apicoin.io/api/v1/doc/#callbackscript
https://apicoin.io/api/v1/doc/#addcallbacks


Thanks for your reply! In fact I'm using some altcoin wallets instead of bitcoin, so is there any way I can solve this?
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
June 20, 2014, 12:55:28 AM
 #4

Sounds like a firewall issue.

But if you just building a shop, why not just have an table in your database, that holds the bitcoin address and only the address. Then you can use a service like mine https://apicoin.io to get the balance of that address, or be notified of when a transaction goes to that address. This is more secure than using a bitcoind, which is way too heavy for this type of action.

https://apicoin.io/api/v1/doc/#callbackscript
https://apicoin.io/api/v1/doc/#addcallbacks


Thanks for your reply! In fact I'm using some altcoin wallets instead of bitcoin, so is there any way I can solve this?

Open the RPC port which is 8333 for bitcoind.
lvyuan95 (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 20, 2014, 12:56:51 AM
 #5

Sounds like a firewall issue.

But if you just building a shop, why not just have an table in your database, that holds the bitcoin address and only the address. Then you can use a service like mine https://apicoin.io to get the balance of that address, or be notified of when a transaction goes to that address. This is more secure than using a bitcoind, which is way too heavy for this type of action.

https://apicoin.io/api/v1/doc/#callbackscript
https://apicoin.io/api/v1/doc/#addcallbacks


Thanks for your reply! In fact I'm using some altcoin wallets instead of bitcoin, so is there any way I can solve this?

Open the RPC port which is 8333 for bitcoind.

Will try, thanks!
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
June 20, 2014, 01:09:50 AM
 #6

Sounds like a firewall issue.

But if you just building a shop, why not just have an table in your database, that holds the bitcoin address and only the address. Then you can use a service like mine https://apicoin.io to get the balance of that address, or be notified of when a transaction goes to that address. This is more secure than using a bitcoind, which is way too heavy for this type of action.

https://apicoin.io/api/v1/doc/#callbackscript
https://apicoin.io/api/v1/doc/#addcallbacks


Thanks for your reply! In fact I'm using some altcoin wallets instead of bitcoin, so is there any way I can solve this?

Open the RPC port which is 8333 for bitcoind.

Will try, thanks!

Also make sure you have this in your bitcoin.conf file...

rpcallowip=<server ip>
Pages: [1]
  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!