We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 ?
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
I would think that you need to provide the apiKey and secret as part of the $gateway->initialize() call. It also appears that you need an account ID.
No branches or pull requests
Hi there, i was hoping to get a sample code here's what i got so far
But so far i get false can you please help me ?
The text was updated successfully, but these errors were encountered: