Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Exam AD0-E722 All Questions
Exam AD0-E722 All Questions

View all questions & answers for the AD0-E722 exam

Adobe Commerce AD0-E722 Question # 1 Topic 1 Discussion

AD0-E722 Exam Topic 1 Question 1 Discussion:
Question #: 1
Topic #: 1

An Adobe Commerce Architect needs to customize the workflow of a monthly installments payment extension. The extension is from a partner who is contracted with the default website Payment Service Provider (PSP), which has its own legacy extension (a module using deprecated payment method).

The installment payment partner manages only initializing a payment, and then hands the capture to be executed by the PSP Once the amount is successfully captured, the PSP notifies the website through a webhook. The goal of the webhook is only to create an "invoice" and save the "capture information" to be used later for refund requests through the PSP itself.

The Architect needs the most simple solution to capture the requested behavior.

Which solution should the Architect implement?


A.

Add a plugin before the $invoice->capture() and change Its input to prevent the call of the $Payment->capture()


B.

Change the can_capture attribute for the payment method under config.xml to be 0


C.

Declare a capture Command with type Magento\Payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml


Get Premium AD0-E722 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.