Skip to main content
Magento Developer Exam
What Is The Difference Between “Pay” And “Capture” Operations?

Q. What is the difference between “pay” and “capture” operations?

pay() – Register payment fact: update self totals from the invoice / Update totals…
capture() – Capture the payment online
* Requires an invoice. If there is no invoice specified, will automatically prepare an invoice for the order
* Updates transactions hierarchy, if required
* Updates payment totals, updates order status, and adds proper comments

By Michael Cristancho

I'm a Digital Commerce and Experience evangelist who enjoys engaging in thought-provoking conversation and mutual exploration. I am a strong believer that learning never ends, and each day brings another opportunity to grow as an individual and professional.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

[class^="wpforms-"]
[class^="wpforms-"]