PHP code example of bni-ecollection / ecoll-callback
1. Go to this page and download the library: Download bni-ecollection/ecoll-callback 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/ */
bni-ecollection / ecoll-callback example snippets
use ecoll\callback\Callback;
$call = new Callback();
$sk = "clientSecretKey";
$raw_data = 'raw php://input data';
$BniHashingClass = "\app\components\BniHashing";
$parsed_data = $call->parseData($BniHashingClass, $raw_data, $sk);
print_r($parsed_data);