| Package Data | |
|---|---|
| Maintainer Username: | gentor | 
| Maintainer Contact: | evgeni.nurkov@gmail.com (Evgeni Nurkov) | 
| Package Create Date: | 2017-02-01 | 
| Package Last Update: | 2024-03-07 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-25 15:02:47 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 6,304 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 0 | 
| Total Watchers: | 1 | 
| Total Forks: | 1 | 
| Total Open Issues: | 0 | 
BNP Paribas PF Pricing Service for Laravel
Installation using composer:
composer require gentor/bnp-paribas-pf
Add the service provider in config/app.php:
Gentor\BnpPF\BnpServiceProvider::class,
Add the facade alias in config/app.php:
Gentor\BnpPF\Facades\Bnp::class,
Convert .pfx certificate to .pem:
openssl pkcs12 -in <cert.pfx> -out <cert.pem> -passin pass:<password> -passout pass:<password>
Change your default settings in app/config/bnp.php:
<?php
return [
    'merchant_id' => env('BNP_MERCHANT_ID'),
    'certificate' => env('BNP_CERTIFICATE_PATH'),
    'password' => env('BNP_PASSWORD'),
    'test_mode' => env('BNP_TEST_MODE'),
];