Showing results for 
Search instead for 
Did you mean: 

Issues installing purchased extension via composer

Issues installing purchased extension via composer

Hi all,


I am attempting to install the extension magetrend/pdf-templates via composer. I purchased the extension via the magento marketplace. My magento version is 2.4.2 and composer is 2.1.5, using php version 7.4. I logged the verbose output of composer, and this is what I see:



Could not find a matching version of package magetrend/pdf-templates. 
Check the package spelling, your version constraint and that the package is
available in a stability which matches your minimum-stability (dev).

Seems that the package cannot be found on's repo. I'm not sure why it's checking that repo for an extension I had to purchase from the Magento Marketplace. Any idea why composer cannot find the package? Please advise.


Re: Issues installing purchased extension via composer

Hello @jlopezduff09cf ,

Please check your auth.json for the correct credentials to connect with the Marketplace.

or  create one auth.json into your root folder if not there add the below code 

   "http-basic": {
      "": {
         "username": "<public-key>", // get from magento (make sure you purchase from same account)
         "password": "<private-key>" // 

and after adding this file run command 

composer require magetrend/pdf-templates

Thank you 
If problem solved accept as a solution and click kudos