Duitku integration for your Magento 2! πΈπΈπΈ
Start receiving payment through your e-commerce magento with Duitku extension plugin payment integration.
Before you begin to install through the composer, you need Magento marketplace account and make sure that you have installed Composer. In your terminal, go to the Magento folder and run the following commands:
- Install the plugins:
composer require duitku_payment_gateway/duitku_bnc
- Enable the plugin:
bin/magento module:enable Duitku_BNC
- Execute upgrade script :
bin/magento setup:upgrade
- Deploy magento :
bin/magento setup:static-content:deploy -f
- Clean cache storage :
bin/magento cache:clean
- Check the module status:
bin/magento module:status Duitku_BNC
Note: If you do have a previous version installed and upgrade the plugins to the latest version. After upgrade our plugins, You need to run
bin/magento setup:upgrade --keep-generated
,bin/magento setup:static-content:deploy
and clean cachebin/magento cachce:clean
.
With these steps, you can custom/modify our Magento plugins to handle the business model that you want
-
Download and extract the plugin you have previously downloaded from GitHub and rename the folder as BNC.
-
Upload to the root of the Magento folder (Magento installation folder) you use the FTP client of your choice.
-
Locate the root Magento directory of your shop via FTP connection.
(By default the root folder is on SERVER_HOST/Magento) -
Move the BNC folders into the Magento
root/app/code/Duitku
folder.
(You might need to create the foldercode/Duitku
if it is not exist). -
Run this command on terminal
bin/magento module:enable Duitku_BNC
bin/magento setup:upgrade
bin/magento cache:clean
bin/magento module:status Duitku_BNC
Before you begin, make sure that you have successfully installed and enabled Duitku BNC plugins. Configure the Duitku BNC plugin in your Magento admin panel:
-
Log in to your Magento admin panel.
-
In the left navigation bar, go to Stores(1) -> Configuration(2).
-
In the Other Payment Method section, click Duitku BNC to extend Basic Settings and fill out the following fields:
Field | Description |
---|---|
Enabled | To enable and disable this payment method. |
Title | The title of the payment method displayed to the customers. |
Merchant number | The unique merchantnumber received from the payment system. If you don't know your merchantnumber please Contact Duitku Payment Provider. |
API Secret Key | Used as an API key to be used for authorization sandbox or passport environment on API request. |
Live Mode | If Payment Mode Enable this redirect To live otherwise Setup Sandbox Mode. |
Note: Access Keys are unique for every merchant. Server Key is secret, please always keep Server Key confidential.
The plugins will store log file in directory /var/log/duitku.log
.
see our documentation for complete instruction.