Author

Topic: How I can accept bitcoin with https://github.com/blockchain/receive_payment_php (Read 1573 times)

newbie
Activity: 5
Merit: 0
2 huge problems here:

  • Quote
    %3C?%20echo%20
    Your PHP is not being interpreted. Make sure PHP is installed and working.
  • You can't run this on localhost. Blockchain.info's server needs to reach it publicly.

And no that's not your $secret. It has nothing to do with your wallet. Now that you've published it change it asap in your wallet!
Your $secret can be any random string.

OK thank you Really Much !!!!
I go try Online then Smiley

SO I can write random $secret in the php ??
legendary
Activity: 1876
Merit: 1475
2 huge problems here:

  • Quote
    %3C?%20echo%20
    Your PHP is not being interpreted. Make sure PHP is installed and working.
  • You can't run this on localhost. Blockchain.info's server needs to reach it publicly.

And no that's not your $secret. It has nothing to do with your wallet. Now that you've published it change it asap in your wallet!
Your $secret can be any random string.
newbie
Activity: 5
Merit: 0
Yes I Have following Instruction.
My Database is OK, and work well
Just problem with
 Undecided


How do you know the problem is there? Did you see the log? What does it say?
Can you share your site's URL?

Quote
LOG
::1 - - [22/Mar/2015:18:06:15 +0100] "GET /Bitcoin/ HTTP/1.1" 200 1650
::1 - - [22/Mar/2015:18:06:15 +0100] "GET /Bitcoin/%3C?%20echo%20$blockchain_root%20?%3EResources/wallet/pay-now-button-v2.js HTTP/1.1"

ERROR

Quote
[Sun Mar 22 18:06:15.846925 2015] [core:error] [pid 10000:tid 1160] (20024)The given path is misformatted or contained invalid characters: [client ::1:58215] AH00127: Cannot map GET /Bitcoin/%3C?%20echo%20$blockchain_root%20?%3EResources/wallet/pay-now-button-v2.js HTTP/1.1 to file, referer: http://localhost/Bitcoin/

Here it's my $secret ? right ??
http://img15.hostingpics.net/pics/548547secret.png

I work on localhost for the moment :/
legendary
Activity: 1876
Merit: 1475
Yes I Have following Instruction.
My Database is OK, and work well
Just problem with
  Undecided

How do you know the problem is there? Did you see the log? What does it say?
Can you share your site's URL?
newbie
Activity: 5
Merit: 0
I guess you mean https://github.com/blockchain/receive_payment_php_demo
$secret can be anything as long as it's private and nobody knows it. I'm sure that's not the issue here.

You did set $mysite_root correctly didn't you? It should point to your real domain were your site is installed. Also, did you create the DB, run the mysql script and set the credentials correctly on settings?


Yes I Have following Instruction.
My Database is OK, and work well
Just problem with
and button don't exist (but I can replace it) Undecided
legendary
Activity: 1876
Merit: 1475
I guess you mean https://github.com/blockchain/receive_payment_php_demo
$secret can be anything as long as it's private and nobody knows it. I'm sure that's not the issue here.

You did set $mysite_root correctly didn't you? It should point to your real domain were your site is installed. Also, did you create the DB, run the mysql script and set the credentials correctly on settings?
newbie
Activity: 5
Merit: 0
Hello Smiley

I'm really "really" novice in bitcoin API

I have test this api : https://github.com/blockchain/receive_payment_php_demo

But I can't work with this :/

My problem :

http://img15.hostingpics.net/pics/211505Sanstitre2.jpg

1 - this pic don't exist
2 - I have Problem with


But may be I have not configured well the includ :

$blockchain_root = "https://blockchain.info/";
$mysite_root = "http://mysite.com/";
$secret = "petitTroll";
$my_bitcoin_address = "1Md8xgKc119xu4MyV6KatrnFmrZAWj6TWM";

What I must put in $Secret ? I have test my pass, my login, but I don't know ? Where is $secret in my wallet blockchain ?

if someone could Help mee  Cry
The code is simple and easy but Not work for me

I try to use this api In localhost for test.
(I have not hide informations coz it's wallet for test)
Jump to:
© 2020, Bitcointalksearch.org