Depending on the chosen gateway, you may or may not have access to
capture funds immediately or
authorize for later payment.
The simplest method is
purchase. The gateway will attempt to charge the customer immediately and the result of the attempt will be returned.
You may wish to
authorize a payment so funds can later be captured when an item is dispatched or restocked.
Once you have an authorized transaction, you will want to
capture the authorized funds.
You can mark a transaction refunded at anytime.