'Test on Redsys API
I am trying to make a post method on RedSys Api with the test info they have on the webpage https://pagosonline.redsys.es/conexion-rest.html, just to see the response. but I am getting
{"errorCode":"SIS0042"} Which according to documentation means "Error on signature calculation"
This is what I am sending to the endpoint: https://sis-t.redsys.es:25443/sis/rest/trataPeticionREST
{"Ds_MerchantParameters":"eyJEU19NRVJDSEFOVF9BTU9VTlQiOiIxNDUiLCJEU19NRVJDSEFOVF9PUkRFUiI6IjE0NDYwNjg1ODEiLCJEU19NRVJDSEFOVF9NRVJDSEFOVENPREUiOiI5OTkwMDg4ODEiLCJEU19NRVJDSEFOVF9DVVJSRU5DWSI6Ijk3OCIsIkRTX01FUkNIQU5UX1RSQU5TQUNUSU9OVFlQRSI6IjAiLCJEU19NRVJDSEFOVF9URVJNSU5BTCI6IjEiLCJEU19NRVJDSEFOVF9NRVJDSEFOVFVSTCI6Imh0dHA6XC9cL3d3dy5wcnVlYmEuY29tXC91cmxOb3RpZmljYWNpb24ucGhwIiwiRFNfTUVSQ0hBTlRfUEFOIjoiNDU0ODgxMjA0OTQwMDAwNCIsIkRTX01FUkNIQU5UX0VYUElSWURBVEUiOiIxNTEyIiwiRFNfTUVSQ0hBTlRfQ1ZWMiI6IjEyMyJ9", "Ds_Signature":"Da5q+leqj4ytBKC3T0y/ThshxSe+8Wkh0wnn8Fx1wug=", "Ds_SignatureVersion":"HMAC_SHA256_V1"}
Does anyone know why I get that code if I am just trying to connect with the documentation info?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|