PHP code example of hakito / php-stuzza-eps-banktransfer

1. Go to this page and download the library: Download hakito/php-stuzza-eps-banktransfer 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/ */

    

hakito / php-stuzza-eps-banktransfer example snippets


use at\externet\eps_bank_transfer\SoCommunicator;
$soCommunicator = new SoCommunicator();
// $soCommunicator->BaseUrl == SoCommunicator::LIVE_MODE_URL;
$soCommunicator = new SoCommunicator(true);
// $soCommunicator->BaseUrl == SoCommunicator::TEST_MODE_URL;
// You can also set BaseUrl to a custom endpoint.