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
1 answer

How to detect when a payment has been made and redirect user to specific page?

I am creating my custom payment gateway for Coinbase Commerce API in php and I got status in response somewhat like status: completed after transaction has been completed.I can't figure out how to redirect user to another page after payment has been…
Yash
  • 91
  • 2
  • 13
0
votes
0 answers

Error code "Required parameter missing: billing_address" when trying to link my debit card to my coinbase account

I have filled in all the fields correctly when linking my card, however, there isn't even a parameter for a billing address, so how could this be missing? (pic of the fields and error) My account is already previously set up with my billing address,…
0
votes
1 answer

Sending bitcoin outside using coinbase php library returns 422::Invalid amount

I was trying to send 0.0001 bitcoins to external BTC address using coinbase php library. I have CodeIgniter based website and generating bitcoin addresses, retrieving balances are working fine. but somehow I cant seem to make coin withdrawal work.…
SMJ
  • 716
  • 1
  • 9
  • 23
0
votes
0 answers

Coinbase Commerce Woocommerce Error response from API: Required parameter missing: pricing_type

Integrated Coinbase Commerce to my Wordpress Woocommerce website and everything was working just fine since yesterday. When customer click on "Proceed to Coinbase" button to finish a purchase, website says "Error processing checkout. Please try…
Renato Lulic
  • 200
  • 2
  • 18
0
votes
1 answer

Send eth programmatically php

I use https://github.com/coinbase/coinbase-php with laravel to send Eth from my wallet to wallet on other service. I use this method: $client->createAccountTransaction($account, $transaction); In this way: $transaction = Transaction::send([ 'to'…
0
votes
1 answer

How to call coinbase api methods from codeigniter controller class?

I have added coinbase php library inside application/third_party folder. Now I want to add a normal php file using that library in codeigniter root folder to add content to log file and send email to notify about transactions? Is it okay if add a…
SMJ
  • 716
  • 1
  • 9
  • 23
0
votes
2 answers

coinbase api returns {"errors":[{"id":"invalid_token","message":"The access token is invalid"}]}

Iam trying to access coinbase api to generate address on my ubuntu terminal. curl -k -X GET "https://api.coinbase.com/v2/accounts/3e3835d3----/addresses" -H "CB-VERSION: 2015-04-08" -H "accept: application/json;charset=utf-8" -H "Authorization:…
SMJ
  • 716
  • 1
  • 9
  • 23
0
votes
2 answers

Coinbase API catchable fatal error null argument to httpexception::exceptionClass() in Live Server

In localhost everything working fine . But in live server its breaking at a fatal error and not executing further. /* ======== API CONFIG ========== */ require __DIR__.'/dev_components/wallet_api_components/vendor/autoload.php'; use…
0
votes
1 answer

Coinbase v2 response are too bad and cant get data from this Object class

I'm using coinbase and I'm trying to get data but the response is it to bad cant even generate to json or array and then to json... Code: use Coinbase\Wallet\Client; use Coinbase\Wallet\Configuration; use…
0
votes
2 answers

How to read a value from an object

So I got the next output from a print_r Coinbase\Wallet\Value\Money Object ( [amount:Coinbase\Wallet\Value\Money:private] => 18945.00 [currency:Coinbase\Wallet\Value\Money:private] => USD ) I'm using Coinbase SDK -> link to github My…
fegiar
  • 29
  • 5
0
votes
1 answer

API wrong WITHDRAWAL Fee

I'm developing a application to monitor Transactions on Coinbase. I developed my interface to ease of use. I don't know what I'm doing wrong, but all my withdrawals are with wrong Fee's. I what to give to the user the real fee of a withdrawal, but…
Soloam
  • 11
  • 1
0
votes
4 answers

Api key authentication for coinbase

I'm trying to write a request for API coinbase.com, but I can not correctly generate a signature. I've been trying to find my mistake for 2 days, but I can not. I analyzed the code for other languages on the page:…
0
votes
1 answer

coinbase api call resulted in a `403 Forbidden` response

I'm trying to integrate Coinbase Wallet PHP Library. here is my code to get current BTC buy price
user33333
  • 73
  • 1
  • 1
  • 9
0
votes
2 answers

Inserting data from Coinbase API V2 into a MySQL Database using php

I'm a bit stuck here. I'm building an app based on the Coinbase PHP API V2. This is what I'm trying to achieve. I would like to place the currency code (for e.g. EUR or USD) and the corresponding sell price at the moment of calling in my local MySQL…
Veendetta
  • 1
  • 4
0
votes
1 answer

How do I change where the sell goes to?

I am using this: $sell = new Sell([ 'bitcoinAmount' => (-1*$buyAmount) ]); $client->createAccountSell($account, $sell); But it is sending my money to my bank account and initiating a wire transfer. How can I make it so it sends the money to my…
Elias Baez
  • 43
  • 1
  • 6