Shipping
Magento2
Source Files
Kindly, install both files:
Installation Steps
Please follow the below-mentioned steps for installing Magento plugin
- Extract Myfatoorah Magento plugin zip file into your main directory.
- Run Magento commands to enable Aramex, DHL, or both commands to enable shipping methods.
php -f bin/magento module:enable --clear-static-content MyFatoorah_MyFatoorahPaymentGateway
php -f bin/magento module:enable --clear-static-content MyFatoorah_ShippingAramex
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
php -f bin/magento module:enable --clear-static-content MyFatoorah_MyFatoorahPaymentGateway
php -f bin/magento module:enable --clear-static-content MyFatoorah_ShippingDHL
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
php -f bin/magento module:enable --clear-static-content MyFatoorah_MyFatoorahPaymentGateway
php -f bin/magento module:enable --clear-static-content MyFatoorah_ShippingAramex
php -f bin/magento module:enable --clear-static-content MyFatoorah_ShippingDHL
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
Merchant Configurations
- In Magento Admin Panel Menu Stores → Configuration
- Expand Sales Menu → select Payment Methods
- Find MyFatoorah section then fill API User Details.


Please, set "Is Testing" with "Yes", and use demo token without word "bearer".
You can use the list of test cards to explore payment process.
Please, set "Is Testing" with "No", and use your live token.
N.B:
In the gateway option, the Vendor should select one of his enabled gateways that are provided by Myfatoorah. In case selecting a gateway is not enabled in the MyFatoorah account, the user will be redirected to the MyFatoorah Invoice page when checking out.
Shipping Configurations
- In Magento Admin Panel Menu Stores → Configuration
- Expand Sales Menu → Shipping Settings → Shipping Methods
- Select one of these shipping methods
- "MyFatoorah Aramex Shipping API v2" section.
- "MyFatoorah DHL Shipping API v2" section.
- Select Yes to enable it
- Fill API User Details with demo or live credentials


Weight and Dimensions
The shipping module requires weight and dimensions information for each product. Kindly follow the steps here to add them:
- Log in to Admin Panel
- Navigate to Stores → Attributes → Product
- Click Add New Attribute
- Add "Width" as the Default Label
- Click on Save Attribute
- Repeat the above steps again for "Height" and "Depth" attributes
- Flush Magento2 Cache
- Navigate to Catalog → Products
- Select any product
- Click Add Attribute
- Select the width, height, and depth attribute codes
- Click on Add Selected
- You will find them in the Attributes list on the product page
- Fill that information in cm and the weight in kg
- Repeat the last step 14 for every shipping product


step 1 to 6


step 13
Used Units
cm, m, mm, in and yd are the dimension units accepted by the Myfatoorah plugin.
kg, g, lbs, oz are the weight units accepted by the Myfatoorah plugin.
Updated about 1 year ago