PHP code example of checkdomain / telecash

1. Go to this page and download the library: Download checkdomain/telecash library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

checkdomain / telecash example snippets


$teleCash = new Checkdomain\TeleCash\TeleCash(...);
$validation = $teleCash->validate($ccNumber, $ccValid);
echo $validation->wasSuccessful();

$response = $teleCash->storeHostedDate($ccNumber, $ccValid, $hostedDataId);

$response = $teleCash->sellUsingHostedData($hostedDataId, $amount);