Processing Affirm transactions in Adobe Commerce

Learn how to use the Adobe Commerce admin panel to manage Affirm transactions.


After a customer wraps up their checkout using Affirm as their payment option, Affirm approves a charge for the order's total amount. This charge will show up as 'pending' on the customer's Affirm account for a brief period. However, it's important to keep in mind that authorized charges can disappear if they're not captured before the deadline, which is specified in your agreement with Affirm. If you haven't set up your authorization timing yet due to things like low stock levels, upcoming orders, or shipping durations during the onboarding process, don't worry! Just reach out to our support team, and they'll be happy to help you out.


Processing Orders

When you handle orders in Adobe Commerce — be it authorizing, voiding, refunding, or executing a partial refund — the order status is simultaneously updated on the Affirm dashboard. Though managing orders directly within the Affirm dashboard is possible, we advise utilizing the Adobe Commerce admin panel. This ensures a consistent and synchronized order status between Adobe Commerce and Affirm.

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

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 by setting the Payment Action field to Authorize and Capture.

However, you can manually capture a payment in the Magento 2 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.
3358 3356

Void a charge

If you have not yet captured a charge, you can cancel its authorization by voiding it.



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.

  1. Click Ok in the pop up window.

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, clock 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.