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: | 2024-11-14 15:02:15 |
Package Statistics | |
---|---|
Total Downloads: | 6,035 |
Monthly Downloads: | 29 |
Daily Downloads: | 2 |
Total Stars: | 0 |
Total Watchers: | 2 |
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'),
];