Skip to content
New issue

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

Readme Updates #17

Open
dpdexter opened this issue Mar 5, 2015 · 1 comment
Open

Readme Updates #17

dpdexter opened this issue Mar 5, 2015 · 1 comment

Comments

@dpdexter
Copy link
Contributor

dpdexter commented Mar 5, 2015

Thanks for starting this gateway. Is there anyway you can add some documentation on which Cybersource API is used and which credentials are needed? I know that variables are in the source, but its not clear where they come from, etc.

Also, the readme still refers to 2Checkout support for Omnipay.

@eileenmcnaughton
Copy link
Contributor

I think the defaultParameters function declares the keys - so cybersource gives you a secret key etc & you do

$gateway = Omnipay::create('Cybersouce');
$gateway->setSecretKey('abc123');
$gateway->setAccessKey('xyz123');
$gateway->setProfileId('myprofile');

public function getDefaultParameters()
{
return array(
'profileId' => '',
'secretKey' => '',
'accessKey' => '',
'testMode' => false,
);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants