Magento
M70-101 · Question #101
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
(64 responses)- A2% (1)
- B2% (1)
- C5% (3)
- D84% (54)
- E8% (5)
Community Discussion
No community discussion yet for this question.