Questions tagged [coinbase-php]

PHP wrapper for the Coinbase API

This is the PHP client library for the Coinbase Wallet API. It provides an interface to integrate Coinbase Wallet into a PHP project.

71 questions
1
vote
1 answer

Not able to fetch the price for market order

I am not able to fetch the price for my order using coinbase sandbox for market type order. array:15 [▼ "id" => "c4298c2e-324d-4cee-aaa3-18e811fee3bb" "info" => array:15 [▼ "id" => "c4298c2e-324d-4cee-aaa3-18e811fee3bb" "size" =>…
1
vote
0 answers

How to check whether my ipn page is called by coinbase ping webhook notification

I have built a website using CodeIgniter and php coinbase API. I have ipn file located at /var/www/html/ with 0777 permission. It is not being called when deposits are made to my coinbase BTC wallet. Other API calls like creating wallet addresses,…
SMJ
  • 716
  • 1
  • 9
  • 23
1
vote
1 answer

PHP Coinbase how to start using this API using PHP language?

I am attempting to use the PHP Coinbase API. I already have an API key and OAuth key. I already set up my web server. Also, I already downloaded the library on GitHub but I still cannot make it work. Every time I use this code it…
1
vote
1 answer

Coinbase api2 data as variable in php

Im learning coinbase api and messing around with php. I cant seem to add data as variable from array as array is private. How can i set private values as variable? $coinbaseconf = Configuration::apiKey($coinbaseapi, $coinbasesecret); $client =…
evenom
  • 13
  • 3
1
vote
2 answers

How can I test transaction on coinbase?

I want to test transaction on coinbase, is there anyway to test transactions on coinbase development without using real bitcoin. Because I don't have any bitcoins in my account.
1
vote
1 answer

How to declare CURL body for CoinBase API call in php

I want use php curl to interact with coinbase api. Simple API calls that does not require data to be passed are successful. What I want to do is create address. CLI curl works. The command line curl command sample is below: curl…
SMJ
  • 716
  • 1
  • 9
  • 23
1
vote
2 answers

How to use the level parameter with coinbase and GDAX

I'm using the following library on Github I need to get the order book from GDAX. I do this by doing the following: $getOrderBook = $exchange->getOrderBook($exchangeProduct); echo '
';
print_r($getOrderBook);
echo '
';

Using the above I…
user6043723
  • 177
  • 2
  • 14
1
vote
1 answer

PHP Object with array of objects finding key/value and linking it with another key/value pair

PROGRESS: Almost there... Need help on the last bit!!! $users = $client->getAccounts(); $num = count($users); for ( $x=0; $x < $num; $x++){ foreach($users[$x] as $y => $y_value) { if($y_value == iLy){ print_r($y); …
tralawar
  • 506
  • 6
  • 12
1
vote
2 answers

Coinbase - php curl sendmoney - invalid signature error

I am trying coinbase api to send and get money and going to use in game,on running below code for sending money getting invalid signature error, not sure where I am wrong. I tried getting account detail, which is working fine and I am able to get…
1
vote
1 answer

Coinbase delay payment

I would like to accept payments in Bitcoin through Coinbase but I would like the charge to happen only after a certain period of time. In fact, the website I manage offers car-washings that, due to weather, can be cancelled at any time; instead of…
Washery
  • 1,037
  • 1
  • 12
  • 23
1
vote
1 answer

CoinBase "invalid signature" PHP Buy API Request

I have looked over the code many times but whenever I send request to API it returns "message":"invalid signature" I am thinking it has to do with hashing the body, possibly. I'm new to PHP and its my first project. :) Anyone see an error?…
John Down
  • 490
  • 2
  • 5
  • 20
1
vote
1 answer

Parsing JSON - should be simple. What am I missing?

I'm trying to parse the Coinbase API to pull back the current price of Bitcoin. Here is my code: http://jsfiddle.net/9Kx5N/20/ var mtgoxAPI = "https://coinbase.com/api/v1/prices/spot_rate"; $.getJSON(mtgoxAPI, function (json) { // Set the…
1
vote
3 answers

Description of the item is never actually displayed to the end use via Coinbase API

I am trying to create a simple payment system for bitcoins using coinbase API and this lovely script I found on github Everything works smoothly, but I would like to be able to take the users delivery address as well. I am using the following to…
Chris 'Pig' Hill
  • 175
  • 2
  • 12
0
votes
0 answers

Coinbase Commerce API Payment Button return 403 error

I'm using coinbase commerce api. What I'm trying to achieve is creating a checkout from my laravel project and passing the checkout id to my blade template to create a payment button. The checkout API is working fine and generates a new checkout ID…
Shahrukh
  • 399
  • 2
  • 15
0
votes
1 answer

Coinbase Api Key Authentication error Problem

I'm trying to check my Coinbase API. I have tried making a bunch of different API keys, keep getting the same error: this is my Code