You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the example code you have pasted, please ensure that
you use your "merchantId" from Sandbox environment in this code line below
props.setProperty("merchantID", "my_web_au");
and provide the "keyId" generated using Enterprise Business Center login for your merchant in the code line below:
I followed the documentation and set up my API credentials as below:
it gives me 401 unauthorized error:
Response{protocol=http/1.1, code=401, message=Unauthorized, url=https://apitest.cybersource.com/pts/v2/payments}
The above gives which is me 201 proper response.
I am sure my credentials are correctly created. Is there anything else I should add or modify to get past authorization?
The text was updated successfully, but these errors were encountered: