Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
02-20-2024 11:01 PM
0 REPLIES 0