You can install the Mastercard Gateway module from GitHub.
Before installing or uninstalling, ensure you have the necessary permissions for the module.
chmod 777 -R (project directory)
777 is just an example, use your permissions according to your requirements.