[Omise] Video 7. Capture a card payment, and refund it from the Omise side

CAPTIONS:

0:00:02
In the previous video I have shown how to refund a payment from the Magento 2 backend.

0:00:04
Now I will show how to do so from the Omise dashboard.

0:00:06
For the simplicity, the extension is set up to auto capture the payments for the returning customers.

0:00:08
Let’s make a test order.

0:00:21
The order is placed, and the payment amount is captured from the customer’s bank card.

0:00:24
The customer can see the order and its invoice in his account page.

0:00:30
Let’s check the order in the Magento 2 backend.

0:00:39
The order has the «Processing» status.

0:00:46
An invoice has been created, and it has the «Paid» status.

0:00:57
There are 2 transaction entries: for an initial charge API request, and for a 3D secure confirmation event.

0:00:59
The initial charge API request.

0:01:03
The 3D secure confirmation event.

0:01:09
Let’s review the charge in the Omise backend.

0:01:17
The charge is in the «Successful» state, it is captured.

0:01:20
Let’s refund it.

0:01:26
The charge now in the «Refunded» state.

0:01:29
Let’s review the order in the Magento 2 backend again.

0:01:34
The order now has the «Closed» status.

0:01:40
A credit memo has been created, and it has the «Refunded» status.

0:01:50
There is a new transaction entry: for the refund API response.

0:02:00
Let’s check the order in the customer’s frontend account.

0:02:05
The «Refunds» tab has been added.

See also: