docs: added user guide for manage payment (#2194)

This commit is contained in:
Shahed Nasser
2022-09-13 15:25:34 +03:00
committed by GitHub
parent ac9e1aca6f
commit 27526fe879

View File

@@ -2,10 +2,47 @@
sidebar_position: 3
---
# Manage Payments
# Manage Order's Payments
:::note
In this document, youll learn how to manage an orders payment, including capturing and refunding the payment.
This guide is coming soon.
## Overview
When a customer places an order, using the payment provider they choose during checkout, they authorize the payment.
The payment isnt automatically captured. You must capture it manually from the Medusa admin.
## Capture Payment
:::info
Payment can only be captured once.
:::
To capture an orders payment:
1. Open the order details page.
2. Scroll to the Payment section.
3. Click on the Capture Payment button.
## Refund Payment
:::caution
Payment can only be refunded after it has been captured. Refunding payments cant be undone.
:::
To refund an orders payment:
1. Open the order details page.
2. Scroll to the Payment section.
3. Click on the Refund button.
4. In the new window that opens:
- Enter the Refund amount. It must be less than the Total Paid amount specified in the Payment section.
- Choose a reason for the refund and optionally provide a note.
- If you dont want the customer to receive an email that the refund has been made, uncheck the “Send notifications” checkbox.
5. Once youre done, click on the Complete button.
You can check refund details in the Payment, Summary, and Timeline sections.