ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 11 - AD0-E718 discussion

Report
Export

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,_void set to 1.

How should this customization be done?

A.
Extend Magento\Payment\Model\\Method\Adapter and reimplement method void. Use this new class as a new type of payment method facade configuration overriding virtualType type for adapter.
Answers
A.
Extend Magento\Payment\Model\\Method\Adapter and reimplement method void. Use this new class as a new type of payment method facade configuration overriding virtualType type for adapter.
B.
Declare a new plugin for class Magento\Payment\ Gateway\Config\ConfigValueHandler and using the afterHandle method, change the result for Subject can_void.
Answers
B.
Declare a new plugin for class Magento\Payment\ Gateway\Config\ConfigValueHandler and using the afterHandle method, change the result for Subject can_void.
C.
Add new handler with name can_void to virtualType based on typeMagento payment\Gateway\config\ValueHandlerPool In payment method facade configuration.
Answers
C.
Add new handler with name can_void to virtualType based on typeMagento payment\Gateway\config\ValueHandlerPool In payment method facade configuration.
Suggested answer: A

Explanation:

https://devdocs.magento.com/guides/v2.3/payments-integrations/base-integration/facadeconfiguration.html

asked 02/10/2024
Mario Jose Oliveros Recinos
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first