Bitcoin Forum
May 05, 2024, 02:46:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MyBitCoin SCI  (Read 1612 times)
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 13, 2011, 12:27:48 AM
 #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?
1714920374
Hero Member
*
Offline Offline

Posts: 1714920374

View Profile Personal Message (Offline)

Ignore
1714920374
Reply with quote  #2

1714920374
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 13, 2011, 04:05:03 AM
 #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...
BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
February 13, 2011, 12:49:51 PM
 #3

Is your receipt script reachable (firewall/NAT)?
Did you setup the merchant data in your MBC account?
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 13, 2011, 07: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?
BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
February 13, 2011, 07: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)?
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 13, 2011, 10:34:19 PM
 #6

I have gpg turned on, I will try disabling it.
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 13, 2011, 10:38:57 PM
 #7

Tried diabling, gpg, no difference.  which logs should I look at?
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 13, 2011, 10: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?
breandan81 (OP)
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 14, 2011, 12:31:03 AM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!