Skip to content

magento man

Composer issue when updating magento version to 2.4.5-p1

When I run composer require magento/product-enterprise-edition=2.4.5-p1 -W I got the following error Problem 1 – magento/product-community-edition 2.4.5-p1 requires magento/module-catalog 104.0.5-p1 -> found magento/module-catalog[104.0.5-p1] but these were not loaded, likely because it conflicts with another require. – magento/product-enterprise-edition 2.4.5-p1 requires magento/product-community-edition… Read More »Composer issue when updating magento version to 2.4.5-p1

Magento api keeps responding with oauth_problem error

I am trying to get an acces token from magento by using OAuth1. when i send the array bellow i get this error oauth_problem=%22oauth_consumer_key%22+is+required.+Enter+and+try+again%2C+%22oauth_signature%22+is+required.+Enter+and+try+again%2C+%22oauth_signature_method%22+is+required.+Enter+and+try+again%2C+%22oauth_nonce%22+is+required.+Enter+and+try+again%2C+%22oauth_timestamp%22+is+required.+Enter+and+try+again I am pretty new to the magento api and cant figure out what is wrong with… Read More »Magento api keeps responding with oauth_problem error

I created a simple shipping method, I want to set the country rate manually? Example US x2

i try to use $request->getDestRegionCode() but it dosent work <?php class Custom extends AbstractCarrier implements CarrierInterface { protected $_code = ‘custom’; protected $rateResultFactory; protected $rateMethodFactory; public function __construct( ScopeConfigInterface $scopeConfig, ErrorFactory $rateErrorFactory, LoggerInterface $logger, ResultFactory $rateResultFactory, MethodFactory $rateMethodFactory, array $data… Read More »I created a simple shipping method, I want to set the country rate manually? Example US x2