Open
Description
Hi there, i was hoping to get a sample code here's what i got so far
$gateway = Omnipay::create('Coinbase');
// Initialise the gateway
$gateway->initialize(array(
'amount' => '0.001',
'currency' => 'BTC',
'description' => 'Test',
'apiKey' => 'secret_code',
'secret' => 'api_key'
));
$request = $gateway->purchase(array(
'amount' => '0.01',
'currency' => 'USD',
'description' => 'socks',
'apiKey' => 'api_key',
'secret' => 'secret_code'
));
$response = $request->send();
var_dump($response->isSuccessful());exit;
But so far i get false can you please help me ?
Metadata
Metadata
Assignees
Labels
No labels