How should this customization be done?

An Adobe Commerce Architect gets a request to change existing payment gateway functionality by allowing voided transactions only for a certain range of paid amounts. In the vendor module file etc/config.xml,payment method has an option can,_voidsetto 1. How should this customization be done?A . Extend MagentoPaymentModel\MethodAdapter and reimplement method void....

June 5, 2023 No Comments READ MORE +

Which solution should the Architect implement?

An Adobe Commerce Architect needs to customize the workflow of a monthly installments payment extension. The extension is from a partner that is contracted with the default website PSR which has its own legacy extension (a module using deprecated payment method). The installment payment partner manages only initializing a payment,...

June 5, 2023 No Comments READ MORE +

Which three AMQP configurations should be considered to meet these requirements?

An Architect is working to implement Adobe Commerce into a pre-built ecosystem in a company. Communication between different company domains uses event-driven design and is driven via AMQP protocol with usingRabbitMQ. The Architect needs to establish the data flow between the ERP system and Adobe Commerce. The ERP system stores...

June 3, 2023 No Comments READ MORE +

Which three steps can the Architect take to ensure validation of the configuration files with unique validation rules for the individual and merged files?

An Adobe Commerce Architect is working on a scanner that will pull prices from multiple external product feeds. The Architect has a list of vendors and decides to create new config file marketplacejeeds.xml. Which three steps can the Architect take to ensure validation of the configuration files with unique validation...

June 2, 2023 No Comments READ MORE +

Which two steps should the Architect recommend to the developer to resolve this issue?

A merchant notices that product price changes do not update on the storefront. The index management page in the Adobe Commerce Admin Panel shows the following: • All indexes are set to 'update by schedule' • Their status is 'ready' • There are no items in the backlog • The...

May 30, 2023 No Comments READ MORE +

Which solution should be used to meet this requirement?

An Adobe Commerce Architect needs to log the result of a ServiceClass : : ge-Dara method execution after all plugins have executed. The method is public, and there are a few plugins declared for this method. Among those plugins are after and around types, and all have sortOrder specified. Which...

April 1, 2023 No Comments READ MORE +

What should be added to set the customer attribute correctly?

A merchant is utilizing an out-of-the-box Adobe Commerce application and asks to add a new reward card functionality for customers. During the code review, the Adobe Commerce Architect notices the reward_card_number attribute setup created for this functionality is causing the customer attribute to be unavailable in the My account/My rewards...

April 1, 2023 No Comments READ MORE +

How should the Architect fix the code so that it complies with the coding standard rule?

An Adobe Commerce Architect runs the PHP Mess Detector from the command-line interface using the coding standard provided with Adobe Commerce. The following output appears: The Architect looks at the class and notices that the constructor has 15 parameters. Five of these parameters are scalars configuring the behavior of Kyservice....

March 31, 2023 No Comments READ MORE +

What should be the next step?

An Architect is investigating a merchant's Adobe Commerce production environment where all customer session data is randomly being lost. Customer session data has been configured to be persisted using Redis, as are all caches (except full page cache, which is handled via Varnish). After an initial review, the Architect is...

March 30, 2023 No Comments READ MORE +

Which solution should the Architect recommend?

While reviewing a newly developed pull request that refactors multiple custom payment methods, the Architect notices multiple classes that depend on MagentoFrameworkEncryptionEncryptorInterf ace to decrypt credentials for sensitive data. The code that is commonly repeated is as follows: In each module, the user_secret config is declared as follows: The Architect...

March 30, 2023 No Comments READ MORE +