Magento Certified Developer GuideCategory: 9. SalesWhich classes and methods are responsible for credit card operations
Manish Prakash Staff asked 2 years ago

The main class responsible for processing payments from admin is sales/order_invoice

it has method pay() and capture() which do the operations

The pay() method is only responsible for changing order status and doing other db operations.
The capture() method does the actual payment method capture part and then calls pay()