New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

gentor/fibank

Fibank Ecomm Service for Laravel
6,297 3
Install
composer require gentor/fibank:dev-master
PHP:>= 5.6
License:MIT
Last Updated:Nov 3, 2023
Links: GitHub  ·  Packagist
Maintainer: gentor

Fibank

Fibank Ecomm Service for Laravel

Installation

Installation using composer:

composer require gentor/fibank

Add the service provider in config/app.php:

Gentor\Fibank\ServiceProvider::class,

Add the facade alias in config/app.php:

Gentor\Fibank\Facade\Fibank::class,

Configuration

Convert .jks certificate to .pem:

$cmd = "keytool -importkeystore -srckeystore " . escapeshellarg($file_path) . " -destkeystore " . escapeshellarg($p12file) . " -srcstoretype JKS -deststoretype PKCS12 -srcstorepass {$password} -deststorepass {$password} -noprompt";
$cmd = "openssl pkcs12 -in " . escapeshellarg($p12file) . " -out " . escapeshellarg($pemfile) . " -passin pass:{$password} -passout pass:{$password}";

Change your default settings in app/config/fibank.php:

<?php
return [
    'certificate' => env('FIBANK_CERTIFICATE_PEM'),
    'password' => env('FIBANK_CERTIFICATE_PASSWORD'),
    'live_mode' => env('FIBANK_LIVE_MODE'),
];

Documentation

Fibank

Related Packages

shoperti/payme

A multi-gateway payment platform for PHP

11,996 49
cboxdk/laravel-billing-stripe

Cbox Billing — Stripe payment-gateway adapter: a PaymentGateway implementation b...

1,060 0
sarahman/sms-service-with-bd-providers

SMS Gateway service library in PHP. Multiple providers of Bangladesh in one libr...

15,324 0
codertrz/laravel-payments

Laravel Payments

0 0
erotokritoscy/payments

:package_description

4,547 0