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

Security Data : UsernameToken authentication failed. #4

Open
gauravoctal opened this issue Feb 5, 2019 · 3 comments
Open

Security Data : UsernameToken authentication failed. #4

gauravoctal opened this issue Feb 5, 2019 · 3 comments

Comments

@gauravoctal
Copy link

Hi,

I am getting below error:
Encrypt Service Response:
Accepted : No
Error : Unknown error. (
Security Data : UsernameToken authentication failed.
)

Any suggestions?

@Zezhong-Li
Copy link

Are you using the token provided by the sample app? I just tried the default username, secret, it worked for me.

@gauravoctal
Copy link
Author

@Zezhong-Li when i run the token provided i sample app it works fine.

when i replace with token, username and merchant id with the one we have been provided by cybersource, it gives above error. The account details we have been provided is for Test Env.

@mishrashreesh
Copy link

@Zezhong-Li I have encountered the same problem. In my case username and merchant id is different which is same in the given sample code. I have noticed that when performPaymentDataEncryption request for payment authentication then it shows wrong username in requested XML , But I am passing correct one in parameter.

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

No branches or pull requests

3 participants