Capture payment
The Capture payment action captures payment for the order that triggers the workflow. If you want to use Capture Payment in your workflow, then you need to ensure that in your Shopify admin, you set up manual payment capture.
For example, you create a workflow that uses the Order created trigger and the Capture payment action. The Order created trigger starts a workflow only when a new order is created, and does not monitor an order for new transactions. If the order is edited or has a post-purchase upsell, then the new payment is not captured. In this case, use the Order transaction created trigger instead, which starts a workflow every time a new transaction is created on an order.
On this page
Triggers
The Capture payment action has a hidden field added to it by the trigger. This field, Order ID, identifies the order to capture payment for. The order ID is set by default and can't be changed.
The Capture payment action can be used in workflows that start with the following triggers:
- Order canceled
- Order created
- Order fulfilled
- Order paid
- Order risk analyzed
- Order transaction created
- Fulfillment created
- Fulfillment event created
- Refund created
- Tender transaction created
API details
To learn more, review the Transaction object.
Templates
Capture payment if order is not high fraud risk
After an order is created and the risk analysis is complete, this workflow checks that the risk level is not high, and if the payment can be captured. If so, it captures payment. In order to use this workflow, you must also change your Admin settings to use manual payment capture. View template
Capture payment when order is fulfilled
Capture authorized payments when orders with due on fulfillment payment terms become fulfilled. You'll also need to set your store's payment capture method to "automatic at fulfillment" for this workflow to work properly. View template
Get notified about high risk orders before capturing payment
Receive an email prompting a review of high risk orders before capturing payment (you must have payments set to manual capture). View template