Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E704 Topic 10 Question 31 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 31
Topic #: 10
[All AD0-E704 Questions]

You have created a new gateway payment method. You configured the command pool in a di. xml file and added the MyCompany\MyModule\Gateway\Command\Sale command with the name sale to it. Your Sale command extends the Magento\Payment\Gateway\Command\GatewayCommand class.

You have also created a payment_action option in the system configuration and set the value to authorize_capture.

You found the sale command is never called when placing an order.

Which action will fix the problem?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Josephine
1 days ago
I think the SaleCommand Class needs to extend the \Magento\Payment\Gateway\Command\SaleCommand Class.
upvoted 0 times
...

Save Cancel