8 posts / 0 new
Last post
karthikkeyan6192
Urgent clarification in executing the payment process

Hey there!
On urgent implementation with test functions (referring PHP API via: https://github.com/payeezy/payeezy_direct_API/tree/master/payeezy_php) in a Windows machine with preinstalled PHPUnit, the codes threw this error:

Fatal error: Call to undefined method Payeezy::tokenize() in C:\xampp\htdocs\pay
eezy_api\payeezy_php\example\tests\PayeezyTest.php on line 70

Mocking the API, we figured out that ‘tokenize()‘ function was missing and couldn't fit any alternates from google, either. We did receive this email from Payeeze online support forum through a quick chat :)


rohitrajagopal3538
Re: Urgent clarification in executing the payment process

Thank you Karthikkeyan. We will correct the issue.

Regards,

Payeezy team


karthikkeyan6192
Re: Urgent clarification in executing the payment process

okay,pleases let as know when it is resloved with test files to download(link) and
may i know the difference between the (https://support.payeezy.com/hc/en-us and https://developer.payeezy.com) two web sites.
We tried the (https://support.payeezy.com/hc/en-us/articles/204011429-Sample-Code-for-Creating-a-Pay-Button-to-use-with-a-Hosted-Payment-Page)
this functionality.

1) Is merchant ID necessary, because you're not using the 'merchant id' in your sample code.

2) We have used this link https://support.payeezy.com/hc/en-us/articles/204686405-Recurring-First-Data-Payeezy-Payment-Page-Integration and tried to add the Recurring Fields to retrieving the bill id (x_recurring_billing_id) but Recurring Fields are not aviable within Payeezy Gateway.


rohitrajagopal3538
Re: Urgent clarification in executing the payment process

Karthikkeyan,

With regard to integration, support.payeezy.com contains information related to Hosted checkout integration and SOAP API based integration. The Payeezy developer portal contains RESTful APIs and also information on mobile wallet based integrations and javascript based tokenization.

The fields that are required by the APIs found on support.payeezy.com will be different than the ones that are found on developer.payeezy.com.

For support.payeezy.com based integration questions, I recommend that you reach out to payeezy.gateway.support@firstdata.com. If you have questions on any resource within the Payeezy developer portal, this would be one of the avenues to have it answered.

Regards,

Payeezy team


karthikkeyan6192
Re: Urgent clarification in executing the payment process

Hi,
Thanks for the information,please let us know any updates #2 and could you please share the sample code in php and with example.


rohitrajagopal3538
Re: Urgent clarification in executing the payment process

Karthikkeyan,

The update to the github repository will come at a later point. Here is a sample code for tokenizing credit cards that you can use to continue with your integration.

<?php

$curl = curl_init('https://api-cert.payeezy.com/v1/securitytokens?apikey=y6pWAJNyJyjGv66IsVuWnklkKUPFbb0a&js_security_key=js-6125e57ce5c46e10087a545b9e9d7354c23e1a1670d9e9c7&ta_token=NOIW&auth=true&callback=Payeezy.callback&type=FDToken&credit_card.type=visa&credit_card.cardholder_name=JohnSmith&credit_card.card_number=4788250000028291&credit_card.exp_date=1030&credit_card.cvv=123');

curl_exec($curl);

curl_close($curl);

?>

Regards,

Payeezy team


karthikkeyan6192
Re: Urgent clarification in executing the payment process

Need confirmation to implement payment gateway

On urgent implementation with (referring PHP API via: https://support.payeezy.com/hc/en-us/articles/204011429-Sample-Code-for-Creating-a-Pay-Button-to-use-with-a-Hosted-Payment-Page)

- Shall, We implement this code for the payment process ?
- What we have to change in the form action for the live account(production) ?
- Recurring Fields(x_recurring_billing_id) is not work in the demo accounts Payeezy Gateway.

Payment Pages: Sample PHP Payment Form

Processing Please Wait...

<?php
$x_login = "WSP-FARSH-SGMn1QBkVg"; // Take from Payment Page ID in Payment Pages interface
$transaction_key = "hdGEBJBuJe3sX_bpg6zr"; // Take from Payment Pages configuration interface
$x_amount = 99;
$bill_id = "MB-EGA-D-82-6969";
$x_currency_code = "USD"; // Needs to agree with the currency of the payment page
srand(time()); // initialize random generator for x_fp_sequence
$x_fp_sequence = rand(1000, 100000) + 123456;
$x_fp_timestamp = time(); // needs to be in UTC. Make sure webserver produces UTC

// The values that contribute to x_fp_hash
$hmac_data = $x_login . "^" . $x_fp_sequence . "^" . $x_fp_timestamp . "^" . $x_amount . "^" . $x_currency_code;
$x_fp_hash = hash_hmac('MD5', $hmac_data, $transaction_key);

echo ('' );
echo ('' );
echo ('' );
echo ('' );
echo ('' );
echo ('');

echo ('' );

// create parameters input in html
foreach ($_POST as $a => $b) {
echo "";
}

?>

document.myForm.submit();

Could you please confirm to proceed further at our end.


rohitrajagopal3538
Re: Urgent clarification in executing the payment process

Karthikkeyan - Your question is related to hosted payment page and as such these questions will be better answered by our technical support team who can be reached at payeezy.gateway.support@firstdata.com. We intend this forum as a place only for discussions related to the APIs that are listed on this site.

Regards,

Payeezy team