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=