PHP code example of flycorp / bradesco

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

    

flycorp / bradesco example snippets


App\Config\payment.php



return [

    'integrations' => [
    
        'bradesco' => [
            'user'            => env('BRADESCO_BOLETO_AUTH', ''),
            'merchant_id'     => env('BRADESCO_BOLETO_MERCHANTID', ''),
            'secret_key'      => env('BRADESCO_BOLETO_MERCHANTKEY', ''),
            'create_endpoint' => env('BRADESCO_ENDPOINT', ''),
            'search_endpoint' => env('BRADESCO_ENDPOINT_SEARCH', ''),
        ],
        
    ]
];