---
updatedAt: 2025-11-13T14:36:05.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/developers/v1.0-Global-Integration/llms.txt
---

# Processing Affirm Transactions in Adobe Commerce (Magento)

Learn how to use Adobe Commerce's (Magento) admin panel to manage Affirm transactions.

## Overview

When a customer completes a checkout with Affirm as their payment method, Affirm authorizes a charge for the amount of the order. The charge then enters a pending state on the customer's Affirm account. Authorized charges expire if you don't capture them before the capture deadline, which is a period **specified in your partnership agreement with Affirm**. If you did not define your authorization timing requirements because of inventory, pre-orders, or shipping time in your onboarding form, please contact your Client Success Manager.

> 🚧
>
> Processing orders (authorize, void, refund, and partial refund) in Adobe Commerce (Magento) updates the order status in the Affirm dashboard. While you can process orders in the dashboard, we strongly recommend using Adobe Commerce's (Magento) admin panel to keep order status synced with Affirm.

After Affirm authorizes a charge, you can perform the following actions on it in Magneto:

* [Capture](#capture-an-authorized-charge)
* [Void](#void-a-charge)
* [Refund](#refund-a-charge)
* [Partial Refund](#partially-refund-a-charge)

***

## Capture an authorized charge

Capturing a charge does the following:

* Charges the authorized amount to the customer's Affirm account
* Begins the customer's billing cycle
* Triggers the transfer process of funds from Affirm to the merchant

Merchants typically capture a charge after fulfilling the order. We recommend enabling auto-capturing if you usually fulfill orders within 5 business days so that the customer receives their purchase before their first bill.

You can [Configure Affirm](https://docs.affirm.com/developers/v1.0-Global-Integration/docs/magento-2-configure-affirm) by setting the **Payment Action** field to **Authorize and Capture**.

However, you can also manually capture a payment in the Adobe Commerce (Magento) Admin Panel using the following steps:

1\. Go to **Sales > Orders**.\
2\. Find the order you want to capture and click **View**.\
3\. Click **Invoice**.

4\. Click **Submit Invoice** to capture and finalize the payment.

<Image title="Magento_capture_1.png" alt={3358} align="center" width="smart" src="https://files.readme.io/12c237c-Magento_capture_1.png" />

<Image title="Magento_capture_2.png" alt={3356} align="center" width="smart" src="https://files.readme.io/6b0d1df-Magento_capture_2.png" />

***

## Void a charge

If you haven't yet captured a charge, you can cancel its authorization by voiding it.

> 🚧 Warning
>
> Voiding a charge is irreversible and Affirm is unable to reinstate those funds.

1\. Go to **Sales > Orders**.\
2\. Find the order you want to void and click **View**.\
3\. Click **Void**.

![](https://files.readme.io/63599a4-Magento_void.png "Magento_void.png")

4\. Click **Ok** in the pop up window.

![](https://files.readme.io/26c1f5c-Magento_void_2.png "Magento_void_2.png")

***

## Refund a charge

If you have already captured a charge, you can reverse it and refund the amount to the customer's Affirm account. You can only process a refund **within 120 days** of capturing the charge.

> 🚧
>
> Both refunded and partially refunded charges are irreversible.

1\. Go to **Sales > Orders**.\
2\. Find the order you'd like to refund and click **View**.\
3\. If you set the **Payment Action** field to *Authorize*, click **Cancel** at the top of the page. However, if you enabled *auto-capture*, proceed to the next step.\
4\. From the left side menu, click **Invoices**, then click **View** for the order you want to refund.\
5\.  Click **Credit Memo** in the top right corner.\
6\. Adjust the amount as needed and click **Refund Offline** at the bottom of the screen.

### Partially refund a charge

You can also issue a partial refund. Like refunding a full charge, you can only process a partial refund **within 120 days** of capturing the charge.

# Sibling pages

* [Installation](https://docs.affirm.com/developers/v1.0-Global-Integration/docs/magento-2-installation.md)
* [Configure Affirm](https://docs.affirm.com/developers/v1.0-Global-Integration/docs/magento-2-configure-affirm.md)
* [Add Affirm Promotional Messaging to Adobe Commerce (Magento)](https://docs.affirm.com/developers/v1.0-Global-Integration/docs/add-affirm-promotional-messaging-to-magento.md)
* [FAQ](https://docs.affirm.com/developers/v1.0-Global-Integration/docs/faq.md)
* [Adobe Commerce (Magento) Telesales Integration](https://docs.affirm.com/developers/v1.0-Global-Integration/docs/magento-2-telesales-integration.md)