PHP code example of znanylekarz / paylane-client

1. Go to this page and download the library: Download znanylekarz/paylane-client 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/ */

    

znanylekarz / paylane-client example snippets


$client = new \PayLane\Client($user, $password);

$result = $client->multiSale(array ('…'));
$fault = $client->getLastFault();
if ($fault) {
    echo "Error: " . $fault->faultstring . "\n";
}