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
0
votes
0 answers

How to use cURL in HTML?

Probably a stupid question but how on earth does one use cURL within HTML? I'm trying to set up a Coinbase API and I'm getting error instantly, Is cURL only available in certain websites, React etc? Or can this be used in standard…
Bboi1999
  • 1
  • 1
  • 7
0
votes
1 answer

Coinbase Api Key Authentication Invalid Token

I might be missing something very obvious but I can't figure out what is wrong with my request. Has anyone managed to connect to the Coinbase API and could point out my error. Request:
Solomon
  • 11
  • 1
0
votes
1 answer

Coinbase API getBalance ignoring ETC currency

The PHP uses the Coinbase API to get the current balance and list what currencies the account has money in. It has been used for a few weeks now, but since swapping one currency into ETC (Ethereum Classic), the balance ignores this currency. It…
TenG
  • 3,843
  • 2
  • 25
  • 42
0
votes
0 answers

What is X-Cc-Webhook-Signature in coinbase webhook api?

I want to accept bitcoin payment using the Coinbase Commerce API. I have created a charge using curl. Now I want to create a webhook to verify payment status. I crate webhook as below…
user15090283
0
votes
0 answers

How to check Coinbase Commerce api(bitcoin) payment is complete or not?

I want to accept bitcoin payment using coinbase commerce API(https://commerce.coinbase.com/docs/api/) I was created a payment address using curl as below. $curl = curl_init(); $postFilds=array( 'name' => 'Test Name', 'description' =>…
user15090283
0
votes
1 answer

Coinbase API PHP get current assets - nested object array

I've just started to use the Coinbase API for PHP (version 2). I am trying to get the current assets. The closest I can get is to use the getAccounts function, which returns (seemingly) a full history of assets, so I am attempting to extract the…
TenG
  • 3,843
  • 2
  • 25
  • 42
0
votes
0 answers

Curl Trying to get property of non-object

to make payment with Coinbase a wrote this: ` $amount = isset($_POST['AMOUNT']) ? filter_input(INPUT_POST, 'AMOUNT', FILTER_SANITIZE_NUMBER_FLOAT) : 0.0; $memo = isset($_POST['MEMO']) ? filter_input(INPUT_POST, 'MEMO', FILTER_SANITIZE_STRING) :…
0
votes
2 answers

Trouble authenticating in Coinbase with PHP using PHP CURL

I am trying to authenticate to Coinbase using the following PHP code and I keep getting an invalid signature error message. Given that info() is a function (will eventually turn it into an object), that gets the API_KEY, API_SECRET, USERAGENT, and…
0
votes
1 answer

Coinbase API - invalid signature

I'm trying to use the API for Coinbase but I get invalid signature. So probably I'm actually sign it wrong or I'm missing something. please help me. $API_KEY = "-------"; $API_SECRET = "------"; $USER_ID = "------", $timestamp =…
0
votes
1 answer

Coinbase Authorize API

I want connect to Coinbase OAUTH to the instructions here https://developers.coinbase.com/docs/wallet/coinbase-connect/integrating in Step 1: I need to construct the authorization URL with the correct parameters and scopes GET…
0
votes
1 answer

check if it has already been paid or not, from coinbase commerce

receive a payment by API and check if it has already been paid or not, from coinbase commerce, I already consume the coinbase commerce API I only need to check if it has been paid or not from my client side. I just need to check if the transaction…
0
votes
0 answers

Guzzlehttp error when I use coinbase/coinbase php library in Codeigniter project

Hello I am using coinbase/coinbase php library in Codeigniter project. I tried to get account using $client->getAccount($account_id);, But this gives error like following. Message: cURL error 60: SSL certificate problem: unable to get local issuer…
0
votes
2 answers

Guzzlehttp error when I use coinbase/coinbase php library in Laravel project

Now I am using coinbase/coinbase php library in laravel project. I tried to get accounts using $client->getAccounts();, But this gives error like following. Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR)…
Jin Ji
  • 1
  • 1
0
votes
1 answer

Get all exchange prices of a cryptocurrency from coinbase (PHP)

My project is to draw a line chart with chart.js from historical coinbase price data. The result should be similar to Googles crypto chart. I allready have found a simple way to get the live prices of any cryptocurrency, but I don't know how to get…
Game Unity
  • 125
  • 10
0
votes
1 answer

How to fetch all the coinbase pro transactions correctly in php

I have a question of coinbase pro, How can I get all the orders/transactions from coinbase pro using php without any limit , or with any limit parameter. I am using the following library to fetch all the coinbase pro orders , but it only gives me…
Kappa
  • 1,015
  • 1
  • 16
  • 31