Magento
M70-201 · Question #124
Which of the following actions will enable logging via calls to debugData() on a native Magento payment method model?
The correct answer is D. Set the config node default/payment/ [method code]/debug to 1. See the full explanation below for the reasoning.
Question
Which of the following actions will enable logging via calls to debugData() on a native Magento payment method model?
Options
- ASet the protected property $_debug of the payment model to true
- BSet the config node default/payment/debug/ [method code] to 1
- CCall Mage::register ('payment_method_debug_' . [method code], true);
- DSet the config node default/payment/ [method code]/debug to 1
- ECall setDebug(true) on the payment method model
How the community answered
(21 responses)- A19% (4)
- B5% (1)
- D71% (15)
- E5% (1)
Community Discussion
No community discussion yet for this question.