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

Adyen Api error #229

Open
pradeep-sawant2501 opened this issue Sep 15, 2020 · 1 comment
Open

Adyen Api error #229

pradeep-sawant2501 opened this issue Sep 15, 2020 · 1 comment

Comments

@pradeep-sawant2501
Copy link

Install Adyen using https://github.com/academe/omnipay-adyen#omnipay-adyen.
But after passing the username and password getting error as :
Array
(
[status] => 401
[errorCode] => 000
[message] => HTTP Status Response - Unauthorized
[errorType] => security
)

Adyen Api initialised are as follows:

$gateway = Omnipay::create('Adyen\Api')->initialize([
//'merchantAccount' => 'Developer914',
//'merchantAccount' => 'Developer914ECOM',
'testMode' => true,
//'username' => 'ws@Company.Developer914',
'username' => 'AQEnhmfuXNWTK0Qc+iSUl3I9q+uLTZkUXMeLmYXwlzSQpKtfUBWB1sf9EMFdWw2+5HzctViMSCJMYAc=-puSlr8NH7Poj34KSoQ3cvo4gHUXGBRs6qFBX46sApIA=-6{36)Hy^~B&X',
'password' => '5G$4$fI>wh2zrV{vm:<NT<.k>',
//'password' => 'V]e+4)M6a%22', // POS password
]);

Please tell me where to get a username, password and merchant account for Adyen. Please share the step. Thanks in advanced.

@DemigodCode
Copy link

DemigodCode commented Oct 16, 2020

You are using the apikey as username... the commented out username should work, if it's the correct user.

Account->Configure->API Credentials->Choose user
Here you will find the username top left and you can set a new password with "Generate Password".
You have to copy the new generated password and than you have to save it!

Next time please use the Issue collector of the specific repo.

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