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