Re: Visa Direct working

Solved! Go to solution
acme
Helper

Visa Direct working

How visa direct works,

1) what apis I need to use to transfer the payment from merchant to multiple receiver. Please provide all details whatever possible with steps to inetegrate

9 REPLIES 9
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Visa Direct working

Hi @acme,

 

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

 

In order to use Visa Direct, all Visa Direct programs require the originator to be a licensed Visa acquirer or be sponsored by a licensed Visa acquirer who is ready and able to sponsor Visa Direct programs. 

 

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.

 

Please let us know if you have additional questions.

 


Best,
Stacey

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

Re: Visa Direct working

I am trying to use sandbox apis, can you please tell me which userid password need to pass in header,

I got following response from  multipushfundstransactions api call

stdClass Object
(
    [responseStatus] => stdClass Object
        (
            [status] => 415
            [code] => 9001
            [severity] => ERROR
            [message] => Unsupported Media Type
            [info] => 
        )
acme
Helper

Re: Visa Direct working

Tried following code but getting blank response

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
 'authorization: Basic '.$auth,
"Accept: application/json",
));
//curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSLCERT, 'cert.pem');
curl_setopt($ch, CURLOPT_SSLKEY, 'key_e888d794-7b37-4fa9-b061-54c8.pem');
curl_setopt($ch, CURLOPT_CAINFO, 'DigiCertGlobalRootCA.crt'); );
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
//curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
//curl_setopt($ch, CURLOPT_PUT, true);
$resArray = curl_exec($ch);

 

acme
Helper

Re: Visa Direct working

@SLiplease reply ASAP so I can move forward

acme
Helper

Re: Visa Direct working

@SLiwaiting for reply please reply, following is code getting blank response

 

curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSLCERT, 'cert.pem');
curl_setopt($ch, CURLOPT_SSLKEY, 'key_.pem'); //$this->config->getPrivateKey());
curl_setopt($ch, CURLOPT_CAINFO, 'VDPCA-SBX.pem'); //$this->config->getCaCertPath());
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
//curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
//curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
//curl_setopt($ch, CURLOPT_PUT, true);
$resArray = curl_exec($ch);
$head = json_decode($resArray);

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Visa Direct working

Hi @acme,

 

We usually do not troubleshoot developer's code. Below are some useful tools/resources that you can use to test out credentials and APIs on VDP.

 

How to run the Hello World API with Mutual SSL on Postman:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/How-to-run-the-Hello-World-API-with-...

 

Visa Developer Center Playground: Tool designed exclusively for testing and troubleshooting Visa APIs that are exposed through the Visa Developer Platform (VDP). It comes integrated with all required authentication methods to connect and get going with VDP APIs.

https://community.developer.visa.com/t5/Developer-Tools/How-to-test-and-troubleshoot-APIs-with-the-V...

 

How to run a Visa Direct transaction using Python:

https://community.developer.visa.com/t5/Webinars/Run-a-Visa-Direct-Transaction-Using-Python-in-1-hr-...

 

Hope this helps.

 

 


Best,
Stacey

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

Re: Visa Direct working

@SLi  thank you for details information,

the third url is not working (https://community.developer.visa.com/t5/Webinars/Run-a-Visa-Direct-Transaction-Using-Python-in-1-hr-...)

 

can you please provide same for PHP it will help me.

 

Thanks in advance

acme
Helper

Re: Visa Direct working

@SLi  following url is not working can you please provide for PHP platform

https://community.developer.visa.com/t5/Webinars/Run-a-Visa-Direct-Transaction-Using-Python-in-1-hr-...

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Visa Direct working

Hi @acme,

Please try below link:

https://community.developer.visa.com/t5/Webinars/Run-a-Visa-Direct-Transaction-Using-Python-in-1-hr-...


Best,
Stacey

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