I'm newbie here and started my integration with VISA Forex Exchange API SANDBOX.
When i try to Run it on POSTMAN it works fine and Give me the Proper Conversion Rate
But when i tried with SOAP UI which require JKS file it gave me the error 400.
Please give some suggestions over this.
i have attached the screenshot of the configuration in SOAP UI.
Please Provide the solution .
Password :- qA3kCsRnB53Hz16f24GZjdxXKF1d65Ah3
"message": "Expected input credential was not present",
The problem here is that the x-pay-token is not properly getting generated.
Please make sure all the configuration parameters that are used to build the x-pay-token hash like the shared secret and the api key have been populated in the configuration.ini file of the php sample code.
You can debug and step into the following function to make sure the x-pay-token is getting built:
$sharedSecret = $this->conf ['VDP'] ['sharedSecret'];
$apiKey = $this->conf ['VDP'] ['apiKey'];
$time = time();
$preHashString = $time.$resource_path.$query_string.$requestBodyString;
$xPayToken = "xv2:".$time.":".hash_hmac('sha256', $preHashString, $sharedSecret);
Apologies for missing that! If you would like to send your keystore and certificates for the technical team to review, please email Developer@visa.com, as the VDP Community Forum is a public forum.