Module Installation

Installation

Required Actions Prior to Installation:

  • Log in to the Novalnet Admin Portal.
  • Install Composer.
  • Make sure that you have extracted the payment module package from the zip file you have received. If you have received only the installation guide without the payment module package (zip file), install the payment module via composer.
  • Ensure that you have created Access Keys for your Magento account. If not, click on Create a New Access Key to generate them. For more details, refer here.

Via Composer:

Step 1: Navigate to the My Purchases section, find the Novalnet extension, and select Technical Details to initiate the installation process.

Step 2: Run the following command in your terminal from the shop's root directory.

composer require novalnet/module-payment

Step 3: Now, enter the Username and Password which you generated in the Access Key page in your Marketplace account for authorisation.

Step 4: Execute the following command to verify whether the Novalnet payment module has been appropriately activated.

php bin/magento module:status

Step 5: Open your terminal at the shop's root directory and execute the command below to activate the Novalnet payment module.

php bin/magento module:enable Novalnet_Payment

Step 6: Run the following command in your terminal to proceed.

php bin/magento setup:upgrade

Step 7: Post-upgrade, execute the Magento compile command below.

php bin/magento setup:di:compile

Step 8: Run the command below to deploy static content (images, CSS, templates, and JS files).

php bin/magento setup:static-content:deploy -f

Via Package:

If the payment module isn't installed via Composer, follow the steps below to install it.

Step 1: Upload the contents of the extracted NovalnetGateway folder to the Root_Directory.

Step 2: In your terminal, run the following command to enable the Novalnet payment module:

php bin/magento module:enable Novalnet_Payment

Step 3: Verify module activation with:

php bin/magento module:status

Step 4: Follow steps 6-8 from the Installation via Composer to reflect the changes in the shop system.

Upgrading the Novalnet Payment Module

To upgrade the Novalnet payment module: Use Composer for installations via Composer, or the file server for package installations.

Step 1: Backup before removing the existing Novalnet payment module.

Step 2: Run the following command in the terminal from the shop's root directory to remove the module:

rm -rf app/code/Novalnet

Step 3: Upload the contents of the extracted NovalnetGateway folder to the Root_Directory.

Step 4: Follow steps 6-8 from the Installation via Composer to reflect the changes in the shop system.

Uninstallation

To deactivate and remove the Novalnet Payment module, follow these steps:

Step 1: From the shop root directory, run the following command to disable the Novalnet payment module:

php bin/magento module:disable --clear-static-content Novalnet_Payment

Step 2: To remove the Novalnet payment module, run the following command from the shop root directory:

rm -rf app/code/Novalnet

Step 3: Run the following command in your terminal to proceed.

php bin/magento setup:upgrade

Step 4: Post-upgrade, execute the Magento compile command below.

php bin/magento setup:di:compile

Step 5: Run the command below to deploy static content (images, CSS, templates, and JS files).

php bin/magento setup:static-content:deploy -f