Tax rate not updating

Hello Altruists,
Noob Magento ( 2.4.3-p1) )user here. I am following the mazeplaza guide (https://www.mageplaza.com/kb/how-to-import-export-tax-rates-magento-2.html), and the csv file uploads ok, but the rates are not updated. Using OpenOffice calc instead of excel btw.
I have arranged and renamed the columns as suggested in the link, and following this format:
https://imgur.com/8ojr3sW

Manual rule update works, sample file from github works, but my files does not -_-. Please advise.

submitted by /u/Advanced-Audience383
[link] [comments]

Magento 2 – How complete my payment gateway – redirect user to external website

I’m trying to make a payment gateway, this gateway is like all others with one exception.

in this gateway, after the user does the following:

  1. add items to cart
  2. got to cart
  3. start checkout
  4. select MyCustomPayment (can be selected)
  5. click pay (currently just directing to the success page)

I have the following di.xml

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="DischemVodapayApiVodapayInterface" type="DischemVodapayModelApiVodapay"/> <!-- Payment Gateway Facade --> <virtualType name="VodapayFacade" type="MagentoPaymentModelMethodAdapter"> <arguments> <argument name="code" xsi:type="const">DischemVodapayModelPaymentVodapay::METHOD_CODE</argument> <argument name="formBlockType" xsi:type="string">MagentoPaymentBlockForm</argument> <argument name="infoBlockType" xsi:type="string">MagentoPaymentBlockInfo</argument> <argument name="valueHandlerPool" xsi:type="object">VodapayValueHandlerPool</argument> <argument name="validatorPool" xsi:type="object">VodapayValidatorPool</argument> <argument name="commandPool" xsi:type="object">VodapayCommandPool</argument> </arguments> </virtualType> <!-- Value Handler Pool entries --> <virtualType name="VodapayValueHandlerPool" type="MagentoPaymentGatewayConfigValueHandlerPool"> <arguments> <argument name="handlers" xsi:type="array"> <item name="default" xsi:type="string">VodapayConfigValueHandler</item> </argument> </arguments> </virtualType> <virtualType name="VodapayConfigValueHandler" type="MagentoPaymentGatewayConfigConfigValueHandler"> <arguments> <argument name="configInterface" xsi:type="object">VodapayConfig</argument> </arguments> </virtualType> <!-- Validator Pool --> <virtualType name="VodapayValidatorPool" type="MagentoPaymentGatewayValidatorValidatorPool"> <arguments> <argument name="validators" xsi:type="array"> <item name="country" xsi:type="string">VodapayCountryValidator</item> <item name="availability" xsi:type="string">DischemVodapayGatewayValidatorSessionValidator</item> </argument> </arguments> </virtualType> <virtualType name="VodapayCountryValidator" type="MagentoPaymentGatewayValidatorCountryValidator"> <arguments> <argument name="config" xsi:type="object">VodapayConfig</argument> </arguments> </virtualType> <!-- Command Pool entries --> <virtualType name="VodapayCommandPool" type="MagentoPaymentGatewayCommandCommandPool"> <arguments> <argument name="commands" xsi:type="array"> <item name="authorize" xsi:type="string">DischemVodapayGatewayCommandAuthorize</item> </argument> </arguments> </virtualType> <!-- Multiple use entries --> <virtualType name="VodapayConfig" type="MagentoPaymentGatewayConfigConfig"> <arguments> <argument name="methodCode" xsi:type="const">DischemVodapayModelPaymentVodapay::METHOD_CODE</argument> </arguments> </virtualType> </config> 

and VodapayGatewayCommandAuthorize.php as below

<?php namespace DischemVodapayGatewayCommand; use MagentoPaymentGatewayCommandInterface; class Authorize implements CommandInterface { public function __construct() { // TODO: Implement contsturutor as needed. } public function execute(array $commandSubject) { // TODO: Get order here // TODO: generate redirection link here // TODO: return redirection link to user } } 

submitted by /u/TheX3R0
[link] [comments]

Extension no longer installable by composer – do it manually?

I am upgrading a dev site to 2.4.5. One of the third party extensions , when I tried to update via composer it didn’t work. Couldnt’ find anything on their website so emailed them. I got the following back:

“The solution is no longer in active development so the installation using Composer is no longer working properly. With that said, you can perform a manual install by extracting the files into your Magento environment instead.”

In the live production site the extension is in vendor. Should I be able to just copy that over to the new site, pop it into vendor and run magento upgrade? Or should I copy it into app/code? I have emailed back but just wondering in the meantime…

Thanks

submitted by /u/hawthornmage
[link] [comments]

Form element actions: Where is the documentation?

Specifically, where is the documentation for the targetName element’s ns and index variables, and the params element? I think that I’ve read everything relevant in the Adobe Developer UI Components docs, but I see no mention.

These features are used in Modifiers to alter the display of forms, like so:

'arguments' => [ 'data' => [ 'config' => [ 'labelVisible' => true, 'label' => 'Foo', 'formElement' => Container::NAME, 'componentType' => Container::NAME, 'displayAsLink' => false, 'actions' => [ [ 'targetName' => 'ns=' . $this->form . ', index=' . $foo, 'actionName' => 'openModal', ], [ 'targetName' => 'ns=' . $this->form . ', index=' . $foo, 'actionName' => 'reloadModal', 'params' => [ $params ], ], ], ], ], ],

Where is the code that reads the return values of the $this->form, $foo, and $params variables?

submitted by /u/dotancohen
[link] [comments]

Magento 2 migration cost

We’re currently still running on M1 and will be starting development of a new site soon. Still in the early stages of deciding on a platform/partner agency at the moment. M2 meets our needs like M1 did so we are considering staying on Magento. We did however have a poor experience with M1 so are also considering other options like BigCommerce, which so far seems to check all the boxes as well.

My question is if anyone here that built similar sites could provide insight on what kind of development cost we can expect if we decide to go with M2? I’ll provide info on our current set-up below. We’ll be speaking to several Magento agencies as well to get a better idea.

Info on our current situation:

  • We do 2M+ revenue per year of which 1M of that runs directly through the M1 shop. The rest of the revenue comes from custom orders made manually in our ERP & physical store purchases.
  • We have 10K+ SKUs of which 2.5K actually in stock at the minute.
  • Around 500 products will need to be customizable
  • We have 240 product attributes and 91 different attribute sets to manage all product data and filters.
  • We have an integration with our ERP system. These days this integration is being offered by multiple vendors in the market for M2, so will probably not have to create it from scratch like we did with our M1 shop..
  • We have several other integrations (multichannel, shipping, email marketing apps) which all seem to be available for M2 as well.
  • Currently we run just the one local site, but we do have ambition to take our shop abroad in the future.

Anyone here built out similar shops and would care to give some insight on what kind of development cost we can expect? Thanks! 🙂

submitted by /u/MrDRed
[link] [comments]

Sizing for Store with 36k Products and 220 Attributes

Hi,
how should I dimension my server for a shop with 36,000 products (7k configurables)? The products have up to 220 attributes, of which about 60 are displayed on the PDP. 30 attributes are searchable.

We have a maximum of 30 users on the site at the same time.

I am currently struggling with performance problems on a CCX32 cloud server at Hetzner (8 core, 32GB RAM). It runs Varnish, ElasticSearch, database, MySql, Redis and Magento/PHP). The server is actually working at full capacity. (CPU Load 6 +-2; Memory always more then 2.5gb free and 13gb buffer cache) But is that really normal? I have already tried to switch to MariaDb for the query cache, but then the indexing processes no longer ran.

I am slowly getting desperate. How would you size the server for such a shop?

Thanks in advance.

submitted by /u/Dear_Chance2955
[link] [comments]