Hello, I think I'm doing everything right:
$gateway = Omnipay::create("Coinbase");
$gateway->initialize(['apiKey' => 'my_api_v2_key_with_all_perm', 'secret' => 'my_api_secret', 'accountId' => 'my_acc_id']);
$transaction = $gateway->purchase(['amount' => 10, 'currency' => 'USD', 'description' => 'something']);
$response = $transaction->send();
but getting an error message on send():
Unableto parse response body into JSON: 4
Whats going on? I've managed to check that this error is caused by empty (NULL) json returned by guzzle. But what causes it?