Okay, so I'm sort of creating a wallet for my users. I need to keep track of their bitcoins on my server. To do so, I have one account containing everyones bitcoins, and their bitcoin amount is tracked on my website's databases.
So now I'm trying to make it so that when they withdraw from their wallet, it also subtracts from my websites databases. I do this with this code:
$result = mbc_spend($bitcoinAddy, floatval($withdrawAmount), "Thank you", "username=lulzy");
Everything is fine except for the baggage data. It's supposed to contain the username so that when receipt is called, I can subtract the correct amount of bitcoins from that users account. But for some reason, the baggage data receipt.php is receiving always returns as null.
I just tried the payment note, and that works perfectly. It seems as if the only data I'm not getting from mbc_post_process is the baggage data. Why is that? Will I have to stick with the payment note to keep track of the user?