Processing transactions in Shopify
Order management
Processing orders (authorize, void, refund, and partial refund) in Shopify updates the order status in the Merchant Portal. While you can process orders in the portal, we strongly recommend using Shopify to keep your order statuses synced with Affirm. For more information on processing orders in Shopify, refer to their documentation.
Overview
When a customer completes a checkout with Affirm as the payment method, we authorize a charge for the amount of the order. The charge enters a pending state on the customer's Affirm account. Authorized charges expire if you do not 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 Affirm.
After Affirm authorizes a charge, you can perform the following actions on it in Shopify:
Capture
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 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 Shopify to auto-capture orders by setting Payment Authorization to Automatically capture payment for orders.
When a customer completes checkout with Affirm as the payment method, a new order appears in your Shopify order list. This charge appears in the customer's Affirm account with a Payment Status of Pending.
To capture the charge:
1. On the main page, click Orders.
2. Click on the order number.
![shopify_orders.png 3170](https://files.readme.io/241da80-shopify_orders.png)
3. Click Capture Payment.
![shopify_capture_payment.png 1738](https://files.readme.io/141b7b3-shopify_capture_payment.png)
4. Click Accept.
![accept_payment.png 1120](https://files.readme.io/f7c9456-accept_payment.png)
Auto-Capture
If your Shopify payment settings for Payment Authorization is set to Automatically capture payment for orders, Affirm will capture the transaction the moment it is authorized. Shopify will capture the order and order will be marked as Paid in the Shopify dashboard.
Void
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.
Visit Shopify for information on voiding charges.
Refund
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. Refunding a charge is irreversible.
Visit Shopify for information on refunding charges.
Partial refund
If you have already captured a charge, you can reverse part of the charge and refund the specified amount to the customer's Affirm account. You can only process a partial refund within 120 days of capturing the charge. Partially refunding a charge is irreversible.
Updated 9 months ago