Visa Developer Community

Regular Visitor

Error generating x-pay-token for cyber source product

Dear all, I followed all the steps of the link below "https://community.developer.visa.com/t5/Getting-Started-with-Visa/using-POSTMAN-creating-x-pay-token..." And yet the error message occurs when trying to generate the x-pay-token In all my life I have never seen anything so complicated to accomplish, as well as the difficulty of communication and practical examples. It looks like it was bred to not be used. But since we know it's the only way we can use and build payment solutions, we have to submit to that. I need help completing this development process by integrating cybersource process payments into the product. The return when calling the api according to the above link is: { "responseStatus": { "status": 401, "code": "9159", "severity": "ERROR", "message": "Token validation failed", "info": "" } }

I hope someone can help you understand the problem.

2 REPLIES 2

Re: Error generating x-pay-token for cyber source product

Hello

Do you have your request screenshot and your url call? Thank you
Highlighted
Frequent Helper

Re: Error generating x-pay-token for cyber source product

Hello,

 

Looks like you are using Post Man Rest Client. Visa has provided instructions for testing x-pay-token based APIs using SOAP UI in the below link. 

 

https://developer.visa.com/pages/working-with-visa-apis/x-pay-token#testing_xpaytoken_connectivity_u...

 

Please try using that and kindly share the below to developer@visa.com if you still face issues.

 

1. Endpoing URL & Request Body

2. Request Header

3. Response

4. Response Header

5. Groovy Script

 

Thanks,

Jai