List of questions
Related questions
Question 11 - AD0-E718 discussion
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.
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.
Your answer:
0 comments
Sorted by
Leave a comment first