Files
medusa-store/www/apps/user-guide/app/orders/payments/page.mdx
Shahed Nasser 4fe28f5a95 chore: reorganize docs apps (#7228)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs
2024-05-03 17:36:38 +03:00

72 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
sidebar_position: 2
sidebar_label: Manage Payments
---
import {
EllipsisHorizontal,
} from "@medusajs/icons"
export const metadata = {
title: `Manage Order's Payments`,
}
# {metadata.title}
In this document, youll learn how to manage an orders payment, including capturing and refunding the payment.
## 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
<Note>
Payment is only captured once.
</Note>
To capture an orders payment:
1. Open the order details page.
2. Scroll to the Payments section.
3. Click on the Capture button.
---
## Refund Payment
<Note type="warning">
Refunding payments is irreversible.
</Note>
<Note type="check">
Payment can only be refunded if it's captured.
</Note>
{/* TODO check info after #5 */}
To refund an orders payment:
1. Open the order details page.
2. Scroll to the Payment section.
3. Click on the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon.
4. Choose "Refund" from the dropdown.
5. In the drawer that opens:
- Enter the amount to refund in the "Refund amount" field.
- In the Reason field, choose a reason for the refund.
- Optionally enter a note that the customer can view in the Note field.
- If you dont want the customer to receive a notification that the payment has been refunded, uncheck the “Send notifications” checkbox.
6. Once youre done, click on the Complete button.
Check refund details in the Payment, Summary, and Timeline sections.