Bitcoin Forum
December 07, 2016, 06:24:33 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: SCI payment problem  (Read 1012 times)
coinFlip55
Newbie
*
Offline Offline

Activity: 1


View Profile
July 08, 2011, 11:10:13 PM
 #1

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:

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?


Thanks.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!