Yes, you need the PHP log. Depends on versions and how you set it up. Could be log/messages, the Apache error log or even nothing if logging wasn't configured for PHP yet.
Google is your best friend.
Once you find where it's logging, add more logging statements as necessary to narrow down...
Can you post the few lines before and after line #74? That error normally means there is a missing semicolon or quote symbol shortly before the line it references.
Also make sure all of the quotes are normal ' or " quotes. I've seen smart quotes (ie. “ ”) get introduced sometimes which are...
Have you checked your PHP error log? There are multiple error_log() statements during execution that should be outputting to wherever WAMP is configured for logging.
Do you know of a service like Blockain.info's or Block.io's payment receiving APIs that will create a new address and then forward the coins to you when received?
Without a service like these for DRK there won't be an easy and automated way to accept payments without connecting to your own...
Yes, the wallet itself calls whatever script is configured in the walletnotify parameter whenever it receives an update from the blockchain that affects one of its addresses.
Nice post. You bring up a lot of good points. In doing implementations for clients, we are finding no one solution is probably going to work 100% for everyone.
We branched a darkcoin version of our SimpleBTCPay app just to see what a full non-third party solution would look like. So for a...
Good question. The primary work of the script is to shove transactions affecting the local wallet into a database. For example, to process the transactions in queue by other scripts.
WalletNotify is a stripped down version of a similar script that processes orders. Check out this one for...
Darkcoind provides a configuration parameter called walletnotify that accepts a script as its parameter. When the wallet receives a transaction for a local address it hits the script configured, passing the txid incoming.
walletnotify.php is a self-contained PHP script for processing...
simpleBTCpay:DRK provides an easy to setup Darkcoin donation / micro-payment interface.
Features
Simple Secure API driven functionality.
No secure keys or passwords stored or required.
Open Source [ github ].
Live DRK/USD quotes from multiple exchange APIs.
On-the-fly DRK forwarding addresses...
We are looking to build more tools for the DRK community. We would like to get feedback on what tools are currently being used and what needs developed. Any comments or discussion welcome.
We have a free no-fee implementation of the ultra-simple-bitcoin-merchant (PHP) at drkmkt.com.
Originally going to port over ultra but decided to just rewrite, then generalize.
Available on github as a port of simpleBTCpay. We will be posting a full announcement at the next release. For now...