You can choose a frontend payment action: «Authorize» or «Capture»
separately for your new and returning customers.
We have set it to «Authorize», so a payment amount will be just blocked on a customer’s bank card, and we will void it later.
Let’s place an order.
The order is placed, and the payment amount is blocked on the customer’s bank card.
Let’s review the order in the Magento 2 backend.
The order has the «Processing» status.
There is no an invoice, because the payment amout is only blocked, not captured.
There are 2 transaction entries: for an initial charge API request, and for a 3D secure confirmation event.
The initial charge API request.
The 3D secure confirmation event.
Let’s review the charge in the Omise backend.
The charge is in the «Pending» state, it is not captured.
Let’s void (reverse) this charge from the Magento 2 backend.
The payment is voided: the payment amount is unblocked on the customer’s bank card.
The order is closed.
There is a new transaction entry: for the voiding API request and response.
Let’s check the charge in the Omise backend again.
As you can see, the charge is in the «Reversed» state.