What does the Capture method do in the Magento Purchase and Order Processing flow?

  • Sends an authorization request to the payment gateway’s API.
  • Collects funds from the authorized transaction and puts it in the merchant’s account.
  • Throws an exception when authorization has failed.
    -Collects the order and makes the shipment.