Manually Capture Funds for Risky Shopify Orders

12 min setup
No coding required
Runs automatically

Safeguard your Shopify store from potential fraud by manually capturing funds on orders flagged as risky. This MESA workflow template lets you decide whether to capture funds or cancel and void orders based on specific fraud indicators, helping you avoid costly refunds and chargebacks. Protect your business and customers with flexible fraud management.

Shopify logo icon
Order Created
Filter: High-Risk Check
Approval: Capture or Void Decision
Capture Payment
Shopify logo icon
Cancel Order

How it works

10 steps to start manually approving payment capture for risky orders

Shopify logo icon

Order Created

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This trigger captures orders the instant they're placed, enabling immediate fraud analysis that identifies risky transactions before payment is captured and products are fulfilled, preventing chargebacks and fraudulent purchases.

When an order is created in Shopify (through online checkout, POS, admin, or API), this trigger activates the workflow and captures complete order data including order ID, customer email, order number, payment details, and shipping information. The workflow runs for every new order placed in your store. No configuration is required—it's pre-connected to your Shopify store and automatically monitors order creation.

Fraud prevention context: Shopify automatically authorizes payment but doesn't capture funds immediately for orders requiring manual review. This workflow intercepts those orders before capture occurs.

Retrieve Shop

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Fetches your store's domain information needed for constructing the direct admin link in the approval request that lets you quickly review the order details and customer information.

This step retrieves shop information from Shopify, specifically the myshopify domain which is used to build the order admin URL format "https://[domain]/admin/orders/[order_id]" that appears in the approval notification.

Get List of Order's Risks

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Runs Shopify's fraud analysis on the order to assess risk level and get recommendations based on factors like AVS mismatch, CVV verification, unusual order patterns, billing/shipping address discrepancies, and velocity checks.

This step retrieves Shopify's fraud analysis for the order using the order ID. Shopify analyzes multiple risk indicators including:

  1. Address Verification System (AVS) results
  2. CVV verification status
  3. Billing vs shipping address comparison
  4. Order velocity (multiple orders from same customer/IP)
  5. Unusual purchasing patterns
  6. High-risk geolocation

The analysis returns a recommendation field with values: "ACCEPT" (low risk, safe to fulfill), "INVESTIGATE" (medium risk, manual review recommended), or "CANCEL" (high risk, likely fraud). This recommendation is used in the next step's filter.

Shopify fraud analysis: This uses Shopify's built-in fraud detection, not a third-party service. The analysis runs automatically on all orders and is available immediately after order creation.

Filter: High-Risk Check

App connector: Filter • Time to complete: 0 minutes (Auto-configured)
Why this matters: Acts as the decision gate that determines which orders need manual review, filtering to only orders flagged as "INVESTIGATE" or "CANCEL" while allowing safe orders to process automatically without intervention.

This filter checks if the fraud analysis recommendation equals "INVESTIGATE" OR "CANCEL". If true (order is risky), the workflow proceeds to send an approval request. If false (recommendation is "ACCEPT"), the workflow stops here and the order processes normally through Shopify. The OR logic ensures both medium-risk and high-risk orders receive manual review.

Risk level breakdown:

  1. ACCEPT: Low risk, no review needed (filtered out)
  2. INVESTIGATE: Medium risk, manual review recommended (proceeds to approval)
  3. CANCEL: High risk, likely fraud (proceeds to approval)

Approval: Capture or Void Decision

App connector: Approval • Time to complete: 3 minutes
Why this matters: Pauses the order processing workflow and notifies you with essential order details, enabling informed decision-making about whether to capture payment or void the transaction based on your fraud assessment.

This approval step sends a notification and presents three options. The approval message includes:

  1. Order number
  2. Customer email
  3. Direct link to the order in Shopify admin

Approval options:

  1. Capture Payment: Proceed with payment capture and fulfill the order
  2. Void: Cancel the order and void the authorization (refunds customer)
  3. Ignore: Take no action (order remains in authorized state for manual handling later)

The selected option is returned as the approval field value ("capture", "void", or ignored if dismissed). You can review the order details in Shopify admin using the provided link before making your decision, checking customer history, verifying shipping address, or contacting the customer.

Where approvals appear: Approval notifications appear in the MESA interface and can be configured to send to email for team visibility.

Get List of Order Transactions

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Retrieves the payment authorization transaction that's required for either capturing the payment or voiding it, providing the parent transaction ID and authorized amount needed for the next steps.

This step fetches all transactions for the order. When orders are created with payment authorization but not immediately captured, Shopify creates an "authorization" transaction. This step retrieves that authorization transaction which contains the transaction ID and authorized amount needed for either capturing payment or voiding the authorization. The first transaction in the array is typically the authorization.

Transaction types in Shopify:

  1. Authorization: Payment method verified, funds reserved
  2. Capture: Funds transferred from customer to merchant
  3. Void: Authorization cancelled, funds released back to customer
  4. Refund: Captured funds returned to customer

Filter: Check for authorized transactions

App connector: Filter • Time to complete: 0 minutes (Auto-configured)
Why this matters: Verifies that an authorization transaction exists before attempting to capture or void, preventing errors when orders have already been captured, voided, or have non-standard payment flows.

This filter checks if the first transaction's kind equals "authorization". If true, the authorization exists and can be captured or voided. If false, the transaction is in a different state (already captured, voided, or refunded) and the workflow shouldn't attempt further action. This safety check prevents duplicate captures or errors.

Capture Payment

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Executes the payment capture when you've approved the order, transferring funds from the customer's payment method to your account and enabling order fulfillment to proceed.

This step creates a capture transaction when you selected "Capture Payment" in the approval. It includes:

  1. amount: The full authorized amount from the authorization transaction
  2. kind: "capture" (indicates this is a payment capture)
  3. parent_id: The authorization transaction ID (links capture to original authorization)

The capture transaction completes the payment process, moving funds from authorization hold to your account. After capture, the order can be fulfilled normally and the customer is officially charged.

Capture timing: Payment authorizations typically expire after 7 days. If you don't capture within that window, you'll need to request a new authorization from the customer.

Filter: Void Check

App connector: Filter • Time to complete: 0 minutes (Auto-configured)
Why this matters: Evaluates whether you chose to void the transaction in the approval step, routing to order cancellation only when you've decided the order is fraudulent.

This filter checks if the approval field equals "void". If true (you chose to void), the workflow proceeds to cancel the order. If false (you chose capture or ignore), this path is skipped. This conditional logic ensures order cancellation only occurs when explicitly requested.

Shopify logo icon

Cancel Order

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Cancels the order and voids the payment authorization, releasing the held funds back to the customer and preventing fulfillment of a potentially fraudulent order.

This step cancels the order in Shopify, which automatically voids the authorization transaction. Canceling releases the payment hold, returns reserved funds to the customer, updates order status to "cancelled", and prevents fulfillment. The customer is not charged, and inventory is released back to available stock.

Order cancellation effects:

  1. Payment authorization voided (no charge to customer)
  2. Inventory returned to available stock
  3. Order status updated to "cancelled"
  4. Fulfillment prevented
  5. Customer notification sent (if enabled in Shopify settings)
Trusted by 1,000+ Shopify merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to start manually approving payment capture for risky orders

Get setup in 12 minutes.

Try this template →

Frequently asked questions

What happens if I don't make an approval decision?

The order remains in an authorized state indefinitely (until the authorization expires, typically 7 days). You can manually capture or void the order later through Shopify admin, or the authorization will automatically expire and release funds to the customer.

Can I partially capture payment for risky orders?

This workflow captures the full authorized amount. To enable partial captures, modify the "Create Order Transaction" step to calculate a different amount value, though this is uncommon for fraud prevention workflows where you typically either trust the full order or void it.

Will customers be notified when I void their order?

Yes, if you have order cancellation email notifications enabled in Shopify settings. The customer will receive an email indicating their order was cancelled. You may want to customize this notification to explain that the order was flagged for security review.

Make this template your own!

Customize this workflow even further:

Add custom risk thresholds
Enhance the fraud analysis filter to check additional risk indicators like order total, shipping destination, customer order history, or specific product types, creating custom risk logic beyond Shopify's recommendations.
Send alerts to team channels
Add Slack or email notification steps after the fraud analysis that alert your fraud prevention team to review risky orders, enabling faster response times and team collaboration on fraud decisions.
Log fraud decisions
Add a Google Sheets or database step that records each approval decision with timestamp, order details, risk level, and action taken for fraud pattern analysis and audit trails.
Automate low-value approvals
Add conditional logic that checks order total and automatically approves orders under a threshold (like $50) even if flagged for investigation, focusing manual review on high-value potential losses.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

Ready to start manually approving payment capture for risky orders?

7-day free trial • 12 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support