Bitcoin Forum
July 08, 2024, 12:52:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain receive payment api callback problems, any alternatives?  (Read 2603 times)
velacreations (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
February 04, 2013, 02:11:17 AM
 #1

I am having trouble with this, and I don't know why.  I have run my callback script through several tests, everything seems to work.  I even used the code from the Blockchain.info page here: https://blockchain.info/api/api_receive

Basically, I use the api to generate an address to give to the customer.  That part works fine.  At the same time, I pass a callback url (that works) with invoice id, etc. I expect to receive a callback with the transaction hash, confirmations, etc.

Nothing ever arrives.  No callback ever happens.

So, I start looking around at how to do it differently.  I can check to see the confirmations from http://blockchain.info/getreceivedbyaddress/xxxxxx, But I don't know how to get the transaction information.

So, I look over at the wallet API: http://blockchain.info/api/blockchain_wallet_api

It has a callback that you have to set via the control panel in your account, but the problem there is that I don't think you can pass variables with it.

Can anyone give me some pointers get me going in the right direction on this?  Everything else seems to go well.

Seal
Donator
Hero Member
*
Offline Offline

Activity: 848
Merit: 1078


View Profile WWW
February 25, 2013, 02:11:56 PM
 #2

What language are you using? They have good test examples https://blockchain.info/api/api_receive

Mines almost working but they blocked my domain as its .sx extension :/

DefiDive - Filter the noise
A clean crypto asset management terminal
velacreations (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
February 25, 2013, 02:35:54 PM
 #3

What language are you using? They have good test examples https://blockchain.info/api/api_receive

Mines almost working but they blocked my domain as its .sx extension :/
I got mine figured out using that api.  I was using php.

ExchangeCurrency
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 24, 2014, 03:39:58 AM
 #4

Hi,
i had alot of problems with this Bitcoin API too, specialy the callback URL
after 2 nights of Headaches,i finaly found the problem :p
this is a DEMO, who is interesting to integrate this LOVELY API on his website he can "Check before Buy" here is the link : http://ex-currency.com/btc/index.php
Payment Sent/Recieved/Confirmed IMMEDIATLY
the price of curiosity is 1 USD
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!