Author

Topic: MyBitCoin SCI (Read 1638 times)

member
Activity: 83
Merit: 10
February 13, 2011, 07:31:03 PM
#9
Ugh, I am so stupid.  The answer resulted when I tried to send a post from the commandline using curl and it returned an html snippet saying the page had been moved.  I was missing a www and didn't notice because it doesn't cause a problem when you type the address into a browser.  OK... well that's that problem solved.
member
Activity: 83
Merit: 10
February 13, 2011, 05:47:45 PM
#8
ok, I looked at the access logs, and I see a POST from mybitcoin going to the script.  So it looks like it is trying to call it.  Why wouldn't the script get run?
member
Activity: 83
Merit: 10
February 13, 2011, 05:38:57 PM
#7
Tried diabling, gpg, no difference.  which logs should I look at?
member
Activity: 83
Merit: 10
February 13, 2011, 05:34:19 PM
#6
I have gpg turned on, I will try disabling it.
legendary
Activity: 1658
Merit: 1001
February 13, 2011, 02:07:47 PM
#5
Do you use the pgp/gpg interface, did you try to turn it off?

Do you see anything in your web server logs (that MBC calls the receipt script)?
member
Activity: 83
Merit: 10
February 13, 2011, 02:04:11 PM
#4
SCI is enabled in the account and the receipt script URL is there, if I copy/paste the URL into the browser it at least runs, it gives an error of course since no post data then, but it runs.  could there be a reason it's not reachable for MBC but it is from a normal browser?
legendary
Activity: 1658
Merit: 1001
February 13, 2011, 07:49:51 AM
#3
Is your receipt script reachable (firewall/NAT)?
Did you setup the merchant data in your MBC account?
member
Activity: 83
Merit: 10
February 12, 2011, 11:05:03 PM
#2
Well if i can't get it working with mybitcoin, I'll try to rewrite it to use a bitcoind running locally on the server.  That seemed more complicated but at least that way I have complete control over what's happening.  It might be less suitable for some shared hosting plans that way too.  I'm also not sure how long it will take for transactions to show up, if I look for them without confirmations it should be fairly quick though right?  Maybe I'll need a cron job to look for new ones and update the database when they show up...
member
Activity: 83
Merit: 10
February 12, 2011, 07:27:48 PM
#1
I'm having a spot of trouble with the MBC SCI.  For some reason my receipt handler script does not appear to be being called at all, I had written my own but I am currently back to just trying to get the example one to work.  I can write to /tmp from php scripts.  Is there an easy way to verify what the issue is?  is the receipt handler script supposed to be called any time when coins are sent to my MBC account, or is there something I have to do to make sure it knows that it is a payment button?
Jump to: