cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication Failed error with HTTP Signature when use javascript fetch

Hi,
Process a payment api is working in cybersource's live console using HTTP signature with Organization ID, secret key and shared secret key. I am getting 201 status response.
API is also working fine in postman. I am getting status 201 response in postman as well.

But when I am implementing api request with javascript fetch it is throwing below error-
{"response":{"rmsg":"Authentication Failed"}}

I am using same data for header, body etc. which is working fine in cybersource's live console and postman.

URL - https://apitest.cybersource.com/pts/v2/payments
Method - POST

dharmesh
Member
0 REPLIES 0