Re: Hand shake error

saunfe
Regular Visitor

Hand shake error

Hey, i have followed the procedure of the API but seem to stuck on an error which is very disturbing. First i am working on a visa direct API, After creating a project i have downloaded the private key and the project cert and used them to generate a final .p12 cert file, then i dbl clicked the file and installed it on my windows 7 64 bit machine.
But when i invoke a ACNL API using the post request method i get a handshake error(i am using python for development) I would appreciate if i could get some guidelines of what i may be doing wrong thanks 

6 REPLIES 6
API_Products
Visa Developer Support Specialist

Re: Hand shake error

Hi @saunfe,

 

Please review the Visa Direct documentation via this link. https://developer.visa.com/capabilities/visa_direct/docs

 

In particular, see the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct.

 

After having read the documentation, if you meet those requirements, then please click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form. 

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

saunfe
Regular Visitor

Re: Hand shake error

Hey thanks Diana for the reply,

i would appreciate if you could outline what may cause a hand shake error, because i when i use SoapUi it works smoothly with the hello world example but when i use it in my code it doesnt 😞 

API_Products
Visa Developer Support Specialist

Re: Hand shake error

Hi @saunfe,

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

 

In SOAP UI, you can find the x-correlation-id in the Raw Tab of the response.

 

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

saunfe
Regular Visitor

Re: Hand shake error

I am using the visa direct API 

here is my code :

import requests

url = 'https://sandbox.visa.com/rsrv_vpp/v1/acnl'
body = {
  "SystemsTraceAuditNumber":455690,
  "RetrievalReferenceNumber":"405012455690",
  "AcquiringBin":409999,
  "AcquirerCountryCode":"101",
  "PrimaryAccountNumber":"4895070000008881"
}
user_id = 'QR5UCE0S7RMI5XPOVZAJ2...'
password = 'S48ckPUx...'

r = requests.post(url,\
  cert = ('security\\cert.pem', 'security\\private_key.pem'),\
  auth = (user_id, password),\
  data = body)

I am invoking the account look up API and i get a handshake error when i execute the appication.

I generated the .p12 certificate and installed it in my computer 

 

 

API_Products
Visa Developer Support Specialist

Re: Hand shake error

Hi @saunfe,                              

 

Per my forum post above, I'd like to check in to see if you have looked at the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct, on the Visa Direct Documentation page.

 

Visa Direct Documentation

https://developer.visa.com/capabilities/visa_direct/docs

 

To move forward with Visa Direct, you'll need to meet those requirements, then click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form. Someone from the Visa Direct team will reach out to you when they receive the questionnaire that you have submitted.

 

 

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

saunfe
Regular Visitor

Re: Hand shake error

Thanks Diana for the reply,
I have just submitted the form right away.
Please tell me how the form is of assist.