Home > Magento 2 – Mastercard Gateway > Installation > Installing from GitHub

Magento 2 – Mastercard Gateway

Created date: 15-03-23   |   Updated date: 11-09-25   |   Plugin version: 3.0.0  |   API version: 100

Installing from GitHub

Follow these steps to install the Mastercard Gateway plugin using Fingent’s GitHub repository:

Image of Fingent GitHub repository.
GitHub
Find the ‘Code’ button to copy the clone link given inside the HTTPs textbox.
‘Code’ button
  • Click on the ‘Code’ button and copy the clone link given inside the HTTPs textbox.
  • Open a terminal in MacOS or the Command Prompt in Windows machine and type the below command line instructions as shown:
  • Create a new directory by using the following command:
Create a new directory by using the following command on the Command Prompt in Windows machine: mkdir -p app/code/Mastercard/Mastercard
Terminal in MacOS
Create a new directory by using the following command on the Command Prompt in Windows machine: mkdir -p app/code/Mastercard/Mastercard
Command Prompt in Windows
  • Navigate into the newly created directory by using the following command:
  • Then, after typing in the git clone command, paste the code snippet copied from GitHub and press Enter to kickstart the installation of the package.
  • To complete the installation, follow the command (upgrade, compile and permission) sequence as shown:

You may use the permission command based on your preference.