PHP code example of ebanx / benjamin
1. Go to this page and download the library: Download ebanx/benjamin 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/ */
ebanx / benjamin example snippets
$config = new Config([
'integrationKey' => 'YOUR_INTEGRATION_KEY',
'sandboxIntegrationKey' => 'YOUR_SANDBOX_INTEGRATION_KEY'
]);
$payment = new Payment([
//Payment properties(see wiki)
]);
$result = EBANX($config)->create($payment);