4 posts / 0 new
Last post
camilofonseca5094
Failed to connect to api-cert.payeezy.com port 443: Timed out

Hello I need your help.

I'm using the API for PHP payeezy in the API include some unit tests
... I'm using his methods but to try to get the token gives me this
error:

"Failed to connect to api-cert.payeezy.com port 443: Timed out"

This is my code for get the token:

$payeezy = new Payeezy();
$payeezy->setApiKey("y6pWAJNyJyjGv66IsVuWnklkKUPFbb0a");
$payeezy->setApiSecret("86fbae7030253af3cd15faef2a1f4b67353e41fb6799f576b5093ae52901e6f7");
$payeezy->setMerchantToken("fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6");
$payeezy->setTokenUrl("https://api-cert.payeezy.com/v1/transactions/tokens");
$payeezy->setUrl("https://api-cert.payeezy.com/v1/transactions");

$primaryTxResponse_JSON =
json_decode($payeezy->authorize($this->setTokenPayload()));

and this is my method to generate the token to authorize (setTokenPayload):

public function setTokenPayload(){

$card_holder_name = $transaction_type = $auth = $card_number =
$ta_token = $card_type = $card_cvv = $card_expiry = $currency_code =
$merchant_ref="";

$transaction_type = $this->processInput("FDToken");
$auth = $this->processInput("false");
$ta_token = $this->processInput("NOIW");

$card_holder_name = $this->processInput("John Smith");
$card_number = $this->processInput("4788250000028291");
$card_type = $this->processInput("visa");
$card_cvv = $this->processInput("123");
$card_expiry = $this->processInput("1250");
$currency_code = $this->processInput("USD");
$merchant_ref = $this->processInput("Astonishing-Sale");

$getTokenPayload = array(

"type"=> $transaction_type,
"auth" => $auth,
"ta_token" => $ta_token,
"card_type" => $card_type,
"card_holder_name" => $card_holder_name,
"card_number" => $card_number,
"card_exp_date" => $card_expiry,
"card_cvv" => $card_cvv,
);

return $getTokenPayload;

}

Please I need your help ... I have two days with this and I have not
accomplished anything ...
Thanks in advance.


rohitrajagopal3538
Re: Failed to connect to api-cert.payeezy.com port 443: Timed...

jackcharoenphan...
Re : Ssl connect error

when i use payeezy with credit card it shows the error like "SSL connect error"


christopherlord730
Re: Re : Ssl connect error

In the sandbox environment you must negotiate the secure handshake with our servers using ONLY TLS 1.2. Any other SSL or TLS protocols will cause an SSL connection error. It will be mandatory in the production environment tentatively on 2/10.