nerdexam
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)
  • A
    2% (1)
  • B
    2% (1)
  • C
    5% (3)
  • D
    84% (54)
  • E
    8% (5)

Community Discussion

No community discussion yet for this question.

Full M70-101 Practice