dioscouri / omnipay-cybersource

11 stars 13 forks source link

Readme Updates #17

Open dpdexter opened 9 years ago

dpdexter commented 9 years ago

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 commented 9 years ago

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, ); }