<p><code>walletnotify</code> takes the supplied string and runs it as a command. If you want to make it request a URL, you should pass the URL to a command that can do that.</p>

<p>On linux:</p>

<pre><code>walletnotify=curl 'http://localhost/blocknotify-update-deposit?trxhash='%s
</code></pre>

<p>If there's an error while running the command, Bitcoin will append a message to debug.log. It should look like this:</p>

<pre><code>runCommand error: system(curl http://...) returned 3
</code></pre>

CC BY-SA 3.0
2016-07-31T01:06:01.713Z
Is the apostrophe needed/recommended? I'm wondering because I've always done mine the same way minus the apostrophe `walletnotify= curl http://yourdomain.com/newdeposit.php?tx=%s`
m1xolyd1an
CC BY-SA 3.0
2016-07-31T05:22:57.627Z
@m1xolyd1an Dunno. To be perfectly honest, I just copied the URL from the OP.
Nick ODell
CC BY-SA 3.0
2016-07-30T20:34:55.847Z
2016-07-30T20:34:55.847Z
Nick ODell
<p>I'm trying to get deposits sent to my website to show up in the users balance, inside my bitcoin.conf I have:</p>

<pre><code>walletnotify='http://localhost/blocknotify-update-deposit?trxhash='%s
</code></pre>

<p>This is not showing up the users deposited balances however if I put the same line in my url bar the balances show up straight away.</p>

<p>What have I missed from the bitcoin.conf? The person I bought the application from has not been much help regarding the bitcoin integration and I'm learning as I go myself here.</p>

<bitcoin.conf>
Bitcoin.conf problem
Sarah Louise
# Bitcoin.conf problem

(Asked by: username_0 on 2016-07-30)

I'm trying to get deposits sent to my website to show up in the users balance, inside my bitcoin.conf I have:

```
walletnotify='http://localhost/blocknotify-update-deposit?trxhash='%s

```

This is not showing up the users deposited balances however if I put the same line in my url bar the balances show up straight away.

What have I missed from the bitcoin.conf? The person I bought the application from has not been much help regarding the bitcoin integration and I'm learning as I go myself here.

**Tags:** bitcoin.conf


---

## 1 answers

### Answer by username_1 on 2016-07-30. Score: 3

`walletnotify` takes the supplied string and runs it as a command. If you want to make it request a URL, you should pass the URL to a command that can do that.

On linux:

```
walletnotify=curl 'http://localhost/blocknotify-update-deposit?trxhash='%s

```

If there's an error while running the command, Bitcoin will append a message to debug.log. It should look like this:

```
runCommand error: system(curl http://...) returned 3

```

> **Comments:**
> **username_2**: Is the apostrophe needed/recommended? I'm wondering because I've always done mine the same way minus the apostrophe `walletnotify= curl http://yourdomain.com/newdeposit.php?tx=%s`  
> **username_1**: @username_2 Dunno. To be perfectly honest, I just copied the URL from the OP.  

---

