Please, do not share your card details with anyone. Note that FIB never ask you for such information.
You have two ways to go about installing the plugin:
Use the popular PHP dependency manager to download the required files:
Code Example
composer require lawrencespring/module-paywithfib
app/code/Lawrencespring/PayWithFIB
app/code/Lawrencespring/FIBPaySDK
In the following section you will find steps to configure Magento.
1. Enable module by running:
$ bin/magento module:enable Lawrencespring_PayWithFIB
2. Install DB schema:
$ bin/magento setup:upgrade
3. Generate classes:
$ bin/magento setup:di:compile
4. Generate static content
$ bin/magento setup:static-content:deploy
Login to magento backend and openStores \ Configuration and Sales \ Payment Methods
Stores \ Configuration
Sales \ Payment Methods
FindPay with FIB section and configure it with your credentials. You need to fillAccount ID , Client ID ,Client Secret fields.
Pay with FIB
Account ID
Client ID
Client Secret
After finishing, remember toSave Config on the right top corner andrefresh cache after it. If credentials are valid and every step was done on the frontend you should be able to seePay with First Iraqi Bank/Pay with FIB payment method.
Save Config
refresh cache
Pay with First Iraqi Bank/Pay with FIB
When a customer finishes the payment process on the application page, an order will automatically be submitted to the customer. And you will be able to see notice on order details page like this one.
You can also check the generated transaction onSales \ Pay with FIB \ Transactions .
Sales \ Pay with FIB \ Transactions
CurrentlyPay with FIB isoffline payment type. In future releases it will be upgraded toonline type with full options related to this type.
offline
online
Thank you! We will get back to you shortly.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.