What is the difference between “pay” and “capture” operations in Magento?

devquora
devquora

Posted On: Feb 22, 2018

 

Pay: This basically sets the invoice state is ‘paid’, this works for both when payment is online or offline.

Capture: This is when actual payment processing happens online, and the capture() method in our payment method is called. After capture, pay() is called.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Magento Interview Questions

    What is Magento?

    Magento is free open source e-commerce software written PHP language, that allows merchants to create online e-commerce..

    Magento Interview Questions

    Explain Registry pattern in Magento?

    Registry pattern is basically a pattern that allows any object or data to be available in a public global scope for any..

    Magento Interview Questions

    What are the different versions of Magento?

    Four different versions of Magento are available, they are Magento Enterprise Edition Magento Community Edition Magento..