On This Page 
    Installing the Visa Acceptance Solutions Extension
    - Go toMy Profile > My Products > Access Keysand copy the keys.
                    { "http-basic": { "repo.magento.com": { "username": "Your_Public_Key", "password": "Your_Private_Key" } } } - Rename theauth.json.samplefile toauth.jsonin your server's Magento root directory and enter your access keys.
 - In your Magento root directory, run the commands listed below:composer require visaacceptance/module-payment php bin/magento module:enable VisaAcceptance_Payment php bin/magento setup:di:compile php bin/magento indexer:reindex php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush php bin/magento module:status