Magento
M70-101 · Question #6
What is the difference in the effect of calling the invoice capture ( ) method versus the invoice pay ( ) method?
The correct answer is C. capture ( ) will trigger the payment and pay ( ) will not. See the full explanation below for the reasoning.
Question
What is the difference in the effect of calling the invoice capture ( ) method versus the invoice pay ( ) method?
Options
- ANo difference: pay ( ) will always call capture ( ).
- Bpay ( ) will trigger the payment and capture ( ) will not.
- Ccapture ( ) will trigger the payment and pay ( ) will not.
- DThe difference is determined by the payment method implementation.
How the community answered
(62 responses)- A11% (7)
- B5% (3)
- C81% (50)
- D3% (2)
Community Discussion
No community discussion yet for this question.