Run the following command Magento 2 root folder
mkdir -f app/code/Goomento
git clone git@github.com:Goomento/MomoPayment.git app/code/Goomento/
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
cd app/code/Goomento/MomoPayment
git pull origin master
# Back to Magento root folder
cd ../../../../
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Run compile if your store in Product mode:
php bin/magento setup:di:compile
You can try this way to upload the file to your server using Filezilla
- Download the latest version here
- Extract
MomoPayment-master.zip
; - Upload (or copy) the file to your server (or project) under
app/code/Goomento/MomoPayment
. You should create a folder pathapp/code/Goomento/MomoPayment
if not exist. - Go to Magento 2 root folder and run upgrade command:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Run compile if your store in Product mode:
php bin/magento setup:di:compile