gentor / bnp-paribas-pf
BNP Paribas PF Pricing Service for Laravel
Installs: 6 112
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >= 5.6
- illuminate/support: 4.2.*|5.*
This package is auto-updated.
Last update: 2024-12-07 16:58:23 UTC
README
BNP Paribas PF Pricing Service for Laravel
Installation
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,
Configuration
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'), ];